summaryrefslogtreecommitdiff
path: root/tests/typ/elements/rect.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/elements/rect.typ')
-rw-r--r--tests/typ/elements/rect.typ9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/typ/elements/rect.typ b/tests/typ/elements/rect.typ
index 59dd4ee0..bb666fb2 100644
--- a/tests/typ/elements/rect.typ
+++ b/tests/typ/elements/rect.typ
@@ -8,10 +8,15 @@
#page(width: 150pt)
// Fit to text.
-#rect(fill: conifer)[Textbox]
+#rect(fill: conifer, padding: 3pt)[Textbox]
// Empty with fixed width and height.
-#rect(width: 3cm, height: 12pt, fill: rgb("ed8a4c"))
+#block(rect(
+ height: 15pt,
+ fill: rgb("46b3c2"),
+ stroke: rgb("234994"),
+ thickness: 2pt,
+))
// Fixed width, text height.
#rect(width: 2cm, fill: rgb("9650d6"), pad(5pt)[Fixed and padded])