Skip to content

Commit

Permalink
Fix svgbob diagrams in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
nofurtherinformation authored and mgeisler committed Dec 27, 2022
1 parent d052db8 commit 8e64303
Show file tree
Hide file tree
Showing 2 changed files with 4 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
3 changes: 3 additions & 0 deletions svgbob.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
svg text {
fill: var(--fg);
}

0 comments on commit 8e64303

Please sign in to comment.