Skip to content

Commit 2ce3223

Browse files
nofurtherinformationmgeisler
authored andcommitted
Fix svgbob diagrams in dark mode
1 parent d052db8 commit 2ce3223

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Diff for: book.toml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class = "bob"
1414
[output.html]
1515
curly-quotes = true
1616
additional-js = ["ga4.js"]
17+
additional-css = ["svgbob.css"]
1718
git-repository-url = "https://github.com/google/comprehensive-rust"
1819
edit-url-template = "https://github.com/google/comprehensive-rust/edit/main/{path}"
1920

Diff for: svgbob.css

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* Ensure text is legible in all themes. */
2+
svg text {
3+
fill: var(--fg);
4+
}

0 commit comments

Comments
 (0)