Skip to content

Commit

Permalink
feat: be aware of rect,table stroke for dark themes
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Jul 19, 2024
1 parent 67f0c8b commit 9ae1e34
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions typ/templates/page.typ
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@
width: 100%,
inset: (x: 4pt, y: 5pt),
radius: 2pt,
stroke: none,
fill: code-extra-colors.at("bg"),
[
#set text(font: code-font)
Expand All @@ -237,6 +238,9 @@
}
}

// figure setting
set rect(stroke: main-color)
set table(stroke: main-color)

show <typst-raw-func>: it => {
let children = it.lines.at(0).body.children
Expand Down

0 comments on commit 9ae1e34

Please sign in to comment.