Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
tools: try fix support for dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed Sep 29, 2023
1 parent 06fb83d commit 43ea095
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/progress.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions tools/render_progress
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,11 @@ class ProgressSVG(Container):
fill: var(--fg, black);
stroke: none;
}}
@media (prefers-color-scheme: dark) {{
text {{
fill: var(--fg, white);
}}
}}
tspan {{
alignment-baseline: central;
fill: var(--fg, inherit);
Expand Down

0 comments on commit 43ea095

Please sign in to comment.