From fd0b89a1d8e4f811fcf3517d321a327a0cf72edf Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 8 Jul 2021 22:33:44 +0200 Subject: Rename Fill to Paint --- tests/typ/layout/stack.typ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/typ/layout/stack.typ') 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), -- cgit v1.2.3