add typst design document stuff
This commit is contained in:
parent
e7863402f3
commit
a3a7a00808
4 changed files with 25 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@
|
|||
.direnv/
|
||||
/target
|
||||
.pre-commit-config.yaml
|
||||
*.pdf
|
||||
|
|
10
docs/design/types.typ
Normal file
10
docs/design/types.typ
Normal file
|
@ -0,0 +1,10 @@
|
|||
#import "../template.typ": conf
|
||||
#show: doc => conf(
|
||||
doc
|
||||
)
|
||||
|
||||
= meow nya
|
||||
|
||||
nyanyanya
|
||||
|
||||
#lorem(50)
|
12
docs/template.typ
Normal file
12
docs/template.typ
Normal 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
2
justfile
Normal file
|
@ -0,0 +1,2 @@
|
|||
doc-design:
|
||||
typst compile docs/design/*.typ --root=docs
|
Loading…
Reference in a new issue