diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-11-20 15:51:07 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-11-20 15:51:07 +0100 |
| commit | cef46e6c40fed0089a20e44ff2f251c06878891c (patch) | |
| tree | a4f12ced1441a014f0446f5b01e3f0f87bdd21b5 /tests/typ/elements/square.typ | |
| parent | 70c0dd767452772d29167e39b1c4f919519422ce (diff) | |
Strokes
Diffstat (limited to 'tests/typ/elements/square.typ')
| -rw-r--r-- | tests/typ/elements/square.typ | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/elements/square.typ b/tests/typ/elements/square.typ index 3163f872..32a26ea6 100644 --- a/tests/typ/elements/square.typ +++ b/tests/typ/elements/square.typ @@ -7,16 +7,16 @@ --- // Test auto-sized square. -#square(fill: eastern)[ +#square(fill: eastern, padding: 5pt)[ #font(fill: white, weight: "bold") - #align(center, pad(5pt)[Typst]) + Typst ] --- // Test relative-sized child. #square(fill: eastern)[ #rect(width: 10pt, height: 5pt, fill: conifer) \ - #rect(width: 40%, height: 5pt, fill: conifer) + #rect(width: 40%, height: 5pt, stroke: conifer) ] --- |
