summaryrefslogtreecommitdiff
path: root/tests/typ/layout/stack.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-07-08 22:33:44 +0200
committerLaurenz <laurmaedje@gmail.com>2021-07-08 22:33:44 +0200
commitfd0b89a1d8e4f811fcf3517d321a327a0cf72edf (patch)
tree75d247866f5db1a0ad32909da6e0fdaafa479592 /tests/typ/layout/stack.typ
parent7e2c217cbc3805c4cae613baf4149cc82e10d503 (diff)
Rename Fill to Paint
Diffstat (limited to 'tests/typ/layout/stack.typ')
-rw-r--r--tests/typ/layout/stack.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/layout/stack.typ b/tests/typ/layout/stack.typ
index fd5201df..7f434bd2 100644
--- a/tests/typ/layout/stack.typ
+++ b/tests/typ/layout/stack.typ
@@ -1,7 +1,7 @@
// Test stack layouts.
---
-#let rect(width, color) = rect(width: width, height: 1cm, fill: color)
+#let rect(width, fill) = rect(width: width, height: 1cm, fill: fill)
#stack(
rect(2cm, rgb("2a631a")),
rect(3cm, forest),
@@ -11,7 +11,7 @@
---
// Test overflowing stack.
-#let rect(width, color) = rect(width: 1cm, height: 0.4cm, fill: color)
+#let rect(width, fill) = rect(width: 1cm, height: 0.4cm, fill: fill)
#box(height: 0.5cm, stack(
rect(3cm, forest),
rect(1cm, conifer),