diff options
Diffstat (limited to 'tests/typ/compiler')
| -rw-r--r-- | tests/typ/compiler/show-selector.typ | 9 | ||||
| -rw-r--r-- | tests/typ/compiler/show-text.typ | 2 |
2 files changed, 5 insertions, 6 deletions
diff --git a/tests/typ/compiler/show-selector.typ b/tests/typ/compiler/show-selector.typ index ebd84837..d1229eee 100644 --- a/tests/typ/compiler/show-selector.typ +++ b/tests/typ/compiler/show-selector.typ @@ -2,16 +2,15 @@ --- // Inline code. -#show raw.where(block: false): it => box(rect( +#show raw.where(block: false): box.with( radius: 2pt, - outset: (y: 3pt), + outset: (y: 2.5pt), inset: (x: 3pt, y: 0pt), fill: luma(230), - it, -)) +) // Code blocks. -#show raw.where(block: true): rect.with( +#show raw.where(block: true): block.with( outset: -3pt, inset: 11pt, fill: luma(230), diff --git a/tests/typ/compiler/show-text.typ b/tests/typ/compiler/show-text.typ index e0fdb793..705c1112 100644 --- a/tests/typ/compiler/show-text.typ +++ b/tests/typ/compiler/show-text.typ @@ -28,7 +28,7 @@ Treeworld, the World of worlds, is a world. --- // This is a fun one. #set par(justify: true) -#show regex("\S"): letter => box(rect(inset: 2pt, upper(letter))) +#show regex("\S"): letter => box(stroke: 1pt, inset: 2pt, upper(letter)) #lorem(5) --- |
