diff --git a/.gitignore b/.gitignore index fcaa00f..1407055 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ .direnv/ /target .pre-commit-config.yaml +*.pdf diff --git a/docs/design/types.typ b/docs/design/types.typ new file mode 100644 index 0000000..2e4af6e --- /dev/null +++ b/docs/design/types.typ @@ -0,0 +1,10 @@ +#import "../template.typ": conf +#show: doc => conf( + doc +) + += meow nya + +nyanyanya + +#lorem(50) diff --git a/docs/template.typ b/docs/template.typ new file mode 100644 index 0000000..6022b41 --- /dev/null +++ b/docs/template.typ @@ -0,0 +1,12 @@ +#let conf( + doc +) = { + set text(font: "Atkinson Hyperlegible"); + show heading: it => [ + #set text(font: "Montserrat", weight: "regular") + + #it + ] + + doc +} diff --git a/justfile b/justfile new file mode 100644 index 0000000..9228b4c --- /dev/null +++ b/justfile @@ -0,0 +1,2 @@ +doc-design: + typst compile docs/design/*.typ --root=docs