Skip to content

Commit

Permalink
Merge pull request #48 from nofurtherinformation/darkmode-svg-text-fix
Browse files Browse the repository at this point in the history
Dark Mode SVG Text Fix
  • Loading branch information
mgeisler authored Dec 27, 2022
2 parents d052db8 + 2ce3223 commit aab767c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class = "bob"
[output.html]
curly-quotes = true
additional-js = ["ga4.js"]
additional-css = ["svgbob.css"]
git-repository-url = "https://github.com/google/comprehensive-rust"
edit-url-template = "https://github.com/google/comprehensive-rust/edit/main/{path}"

Expand Down
4 changes: 4 additions & 0 deletions svgbob.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* Ensure text is legible in all themes. */
svg text {
fill: var(--fg);
}

0 comments on commit aab767c

Please sign in to comment.