1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-20 06:21:09 +02:00

Merge pull request #48 from nofurtherinformation/darkmode-svg-text-fix

Dark Mode SVG Text Fix
This commit is contained in:
Martin Geisler 2022-12-27 17:09:13 +01:00 committed by GitHub
commit aab767ca74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
}