summaryrefslogtreecommitdiff
path: root/tests/typ/code
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-05-23 22:59:25 +0200
committerLaurenz <laurmaedje@gmail.com>2021-05-23 22:59:25 +0200
commit14f093bfee3d0871d9796a0dcaf1648b76010930 (patch)
tree83cf2e2d56d2d25a154c76c5bf31146eb03ce3c1 /tests/typ/code
parentcd25b402816b0b4db0b310e3fff179f2a4fd7751 (diff)
A few predefined colors for testing
Diffstat (limited to 'tests/typ/code')
-rw-r--r--tests/typ/code/let.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/code/let.typ b/tests/typ/code/let.typ
index 4f84aa67..49abec53 100644
--- a/tests/typ/code/let.typ
+++ b/tests/typ/code/let.typ
@@ -17,8 +17,8 @@
---
// Syntax sugar for function definitions.
-#let background = #9feb52
-#let rect(body) = rect(width: 2cm, fill: background, pad(5pt, body))
+#let fill = conifer
+#let rect(body) = rect(width: 2cm, fill: fill, pad(5pt, body))
#rect[Hi!]
// Error: 13 expected body