summaryrefslogtreecommitdiff
path: root/tests/typ/layout/stack.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-06-10 16:46:01 +0200
committerLaurenz <laurmaedje@gmail.com>2021-06-10 16:46:01 +0200
commit5611c26577c4cf6d52b9b66b7b1a32253aa23ec1 (patch)
treeb06a64845ef691700aed7fd0ed1e22dd064cc742 /tests/typ/layout/stack.typ
parentbce553a991f19b2b5bb9efef6b74bd12e15a10c6 (diff)
Restructure tests
Diffstat (limited to 'tests/typ/layout/stack.typ')
-rw-r--r--tests/typ/layout/stack.typ9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/typ/layout/stack.typ b/tests/typ/layout/stack.typ
new file mode 100644
index 00000000..006a1412
--- /dev/null
+++ b/tests/typ/layout/stack.typ
@@ -0,0 +1,9 @@
+// Test stack layouts.
+
+---
+#let rect(width, color) = rect(width: width, height: 1cm, fill: color)
+#stack(
+ rect(2cm, #2a631a),
+ rect(3cm, forest),
+ rect(1cm, conifer),
+)