add typst design document stuff

This commit is contained in:
Schrottkatze 2024-01-01 23:34:34 +01:00
parent e7863402f3
commit a3a7a00808
4 changed files with 25 additions and 0 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@
.direnv/
/target
.pre-commit-config.yaml
*.pdf

10
docs/design/types.typ Normal file
View file

@ -0,0 +1,10 @@
#import "../template.typ": conf
#show: doc => conf(
doc
)
= meow nya
nyanyanya
#lorem(50)

12
docs/template.typ Normal file
View file

@ -0,0 +1,12 @@
#let conf(
doc
) = {
set text(font: "Atkinson Hyperlegible");
show heading: it => [
#set text(font: "Montserrat", weight: "regular")
#it
]
doc
}

2
justfile Normal file
View file

@ -0,0 +1,2 @@
doc-design:
typst compile docs/design/*.typ --root=docs