1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-12-25 11:02:50 +02:00

Fix svgbob diagrams in dark mode

This commit is contained in:
Dylan 2022-12-23 10:21:10 -06:00 committed by Martin Geisler
parent d052db8874
commit 2ce32238b5
2 changed files with 5 additions and 0 deletions

View File

@ -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}"

4
svgbob.css Normal file
View File

@ -0,0 +1,4 @@
/* Ensure text is legible in all themes. */
svg text {
fill: var(--fg);
}