Skip to content

Commit 994a878

Browse files
committed
test: update block styling to include stroke in monospace tests
1 parent 5c8b344 commit 994a878

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/docs/smoke-all/typst/syntax-highlighting/brand-monospace-block-no-bg/brand-monospace-block-no-bg.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ _quarto:
1717
# Even without brand bg, Skylighting override uses theme bgcolor
1818
# so that width/inset/radius are applied
1919
- 'let bgcolor = rgb\("#f1f3f5"\)'
20-
- 'block\(fill: bgcolor, width: 100%, inset: 8pt, radius: 2pt, blocks\)'
20+
- 'block\(fill: bgcolor, width: 100%, inset: 8pt, radius: 2pt, stroke: 0\.5pt \+ luma\(200\), blocks\)'
2121
# No brand background-color show rule (not configured)
2222
- ['^#show raw\.where\(block: true\): set block\(fill:']
2323
---

tests/docs/smoke-all/typst/syntax-highlighting/brand-monospace-inheritance/brand-monospace-inheritance.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ _quarto:
1818
- '^#show raw\.where\(block: true\): set par\(leading: 0\.75em\)$'
1919
# Quarto Skylighting override with inherited brand bg
2020
- 'let bgcolor = rgb\("#edf2f7"\)'
21-
- 'block\(fill: bgcolor, width: 100%, inset: 8pt, radius: 2pt, blocks\)'
21+
- 'block\(fill: bgcolor, width: 100%, inset: 8pt, radius: 2pt, stroke: 0\.5pt \+ luma\(200\), blocks\)'
2222
# monospace-inline overrides weight to 700, inherits color, gets its own bg
2323
- '^#show raw\.where\(block: false\): set text\(weight: 700, size: 0\.85em, fill: rgb\("#2d3748"\), \)$'
2424
- '^#show raw\.where\(block: false\): content => highlight\(fill: rgb\("#fefcbf"\), content\)$'

tests/docs/smoke-all/typst/syntax-highlighting/brand-monospace-with-theme/brand-monospace-with-theme.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ _quarto:
1818
- '^#show raw\.where\(block: true\): set par\(leading: 0\.65em\)$'
1919
# Quarto Skylighting override uses brand bg (not espresso theme bg)
2020
- 'let bgcolor = rgb\("#282a36"\)'
21-
- 'block\(fill: bgcolor, width: 100%, inset: 8pt, radius: 2pt, blocks\)'
21+
- 'block\(fill: bgcolor, width: 100%, inset: 8pt, radius: 2pt, stroke: 0\.5pt \+ luma\(200\), blocks\)'
2222
# Brand monospace-inline properties
2323
- '^#show raw\.where\(block: false\): set text\(weight: 500, fill: rgb\("#6c3483"\), \)$'
2424
- '^#show raw\.where\(block: false\): content => highlight\(fill: rgb\("#e8e0f0"\), content\)$'

0 commit comments

Comments
 (0)