Skip to content

Commit

Permalink
fix(style): svg now uses filter: invert(0.85); under dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Jun 2, 2024
1 parent ebb747b commit bce0c03
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
11 changes: 10 additions & 1 deletion assets/uts-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,19 @@ svg.embedded-tex-svg {
max-width: 97%;
}

:root[data-applied-mode="dark"] svg.embedded-tex-svg text {
:root[data-applied-mode="dark"] svg.embedded-tex-svg {
filter: invert(0.85);
}


/* :root[data-applied-mode="dark"] svg.embedded-tex-svg text {
fill: white;
}
:root[data-applied-mode="dark"] svg.embedded-tex-svg path {
stroke: white;
} */

section[data-taxon="Remark"] {
border-left: 5px solid #458933;
margin: 1em 0 1em 0;
Expand Down
6 changes: 3 additions & 3 deletions trees/ca-000C.tree
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
}

\li{
\p{ #{\operatorname{lift}} is unique, i.e. given #{G : \Cl(Q) \amap A}, we have:}

\p{ #{ G \circ \iota = f \iff G = \operatorname{lift} f}
\p{ #{\operatorname{lift}} is unique, i.e. given #{G : \Cl(Q) \amap A}, we have:
##{ G \circ \iota = f \iff G = \operatorname{lift} f}
}}
}
}
Expand Down

0 comments on commit bce0c03

Please sign in to comment.