This commit is contained in:
gapato 2026-07-19 20:22:53 +02:00
commit a0397ba441
2 changed files with 17 additions and 0 deletions

7
src/lib.typ Normal file
View file

@ -0,0 +1,7 @@
#let var-font-setup(font: "Nunito Sans 12pt", normal-weight: 100, bold-weight: 700, body) = {
set text(font: font, variations: (wght: normal-weight))
show strong: set text(variations: (wght: bold-weight))
show heading: set text(variations: (wght: bold-weight))
body
}