summaryrefslogtreecommitdiff
path: root/tests/typ/layout/grid-1.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-04-13 10:39:45 +0200
committerGitHub <noreply@github.com>2024-04-13 08:39:45 +0000
commit020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch)
treec0027ad22046e2726c22298461327823d6b88d53 /tests/typ/layout/grid-1.typ
parent72dd79210602ecc799726fc096b078afbb47f299 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/typ/layout/grid-1.typ')
-rw-r--r--tests/typ/layout/grid-1.typ41
1 files changed, 0 insertions, 41 deletions
diff --git a/tests/typ/layout/grid-1.typ b/tests/typ/layout/grid-1.typ
deleted file mode 100644
index 411fd8d0..00000000
--- a/tests/typ/layout/grid-1.typ
+++ /dev/null
@@ -1,41 +0,0 @@
-// Test grid layouts.
-
----
-#let cell(width, color) = rect(width: width, height: 2cm, fill: color)
-#set page(width: 100pt, height: 140pt)
-#grid(
- columns: (auto, 1fr, 3fr, 0.25cm, 3%, 2mm + 10%),
- cell(0.5cm, rgb("2a631a")),
- cell(100%, forest),
- cell(100%, conifer),
- cell(100%, rgb("ff0000")),
- cell(100%, rgb("00ff00")),
- cell(80%, rgb("00faf0")),
- cell(1cm, rgb("00ff00")),
- cell(0.5cm, rgb("2a631a")),
- cell(100%, forest),
- cell(100%, conifer),
- cell(100%, rgb("ff0000")),
- cell(100%, rgb("00ff00")),
-)
-
----
-#set rect(inset: 0pt)
-#grid(
- columns: (auto, auto, 40%),
- column-gutter: 1fr,
- row-gutter: 1fr,
- rect(fill: eastern)[dddaa aaa aaa],
- rect(fill: conifer)[ccc],
- rect(fill: rgb("dddddd"))[aaa],
-)
-
----
-#set page(height: 3cm, margin: 0pt)
-#grid(
- columns: (1fr,),
- rows: (1fr, auto, 2fr),
- [],
- align(center)[A bit more to the top],
- [],
-)