diff options
Diffstat (limited to 'typst/grace_personal_template.typ')
| -rw-r--r-- | typst/grace_personal_template.typ | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/typst/grace_personal_template.typ b/typst/grace_personal_template.typ index 136ec12..9218c5b 100644 --- a/typst/grace_personal_template.typ +++ b/typst/grace_personal_template.typ @@ -131,7 +131,17 @@ show math.equation: set text(font: "Fira Math", fallback: false) set raw(theme: rose-pine-moon.codeThemePath) - show raw: it => [ + show raw.where(block: false): it => [ + #set text(fill: rose-pine-moon.text) + #set text(top-edge: "ascender", bottom-edge: "descender") + #box( + fill: rose-pine-moon.overlay, + inset: (x: 3pt, y: 2pt), + radius: 3pt, + it + ) + ] + show raw.where(block: true): it => [ #set text(fill: rose-pine-moon.text) #block( fill: rose-pine-moon.overlay, |
