summaryrefslogtreecommitdiff
path: root/tests/typ/layout/container-fill.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-13 12:04:26 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-13 12:18:34 +0100
commit72b60dfde751b4a2ab279aa1fcfa559b4a75eb51 (patch)
tree013065649ef0972bd342ad5c5821842a9c48c740 /tests/typ/layout/container-fill.typ
parentdb49b628f73d3c328aacadbb9126616e7cccfc49 (diff)
Fill and stroke properties for containers
Diffstat (limited to 'tests/typ/layout/container-fill.typ')
-rw-r--r--tests/typ/layout/container-fill.typ7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/typ/layout/container-fill.typ b/tests/typ/layout/container-fill.typ
new file mode 100644
index 00000000..ab5913ab
--- /dev/null
+++ b/tests/typ/layout/container-fill.typ
@@ -0,0 +1,7 @@
+#set page(height: 100pt)
+#let words = lorem(18).split()
+#block(inset: 8pt, fill: aqua, stroke: aqua.darken(30%))[
+ #words.slice(0, 12).join(" ")
+ #box(fill: teal, outset: 2pt)[incididunt]
+ #words.slice(12).join(" ")
+]