diff options
Diffstat (limited to 'tests/typ/layout/stack.typ')
| -rw-r--r-- | tests/typ/layout/stack.typ | 4 |
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), |
