summaryrefslogtreecommitdiff
path: root/tests/typ/insert/square.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-07-08 21:42:36 +0200
committerLaurenz <laurmaedje@gmail.com>2021-07-08 21:42:36 +0200
commit7e2c217cbc3805c4cae613baf4149cc82e10d503 (patch)
tree66c36a7cff800bc0b6b4ddcd2e85112219cd830d /tests/typ/insert/square.typ
parent551e3af9d09a03aaa246cac46b98124bc10835ba (diff)
Rename some library arguments
- font - color -> fill - shorthands for families and size - decoration functions - color -> stroke - strength -> thickness - position -> offset - invert offsets: now positive goes downwards just like the rest of typst
Diffstat (limited to 'tests/typ/insert/square.typ')
-rw-r--r--tests/typ/insert/square.typ2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typ/insert/square.typ b/tests/typ/insert/square.typ
index f9efb98e..d003635d 100644
--- a/tests/typ/insert/square.typ
+++ b/tests/typ/insert/square.typ
@@ -5,7 +5,7 @@ Auto-sized square. \
#square(fill: eastern)[
#align!(center)
#pad!(5pt)
- #font!(color: white, weight: bold)
+ #font!(fill: white, weight: bold)
Typst
]