tools: try fix support for dark theme

This commit is contained in:
Marcin Kurczewski 2023-09-29 22:24:50 +02:00
parent 091299ed38
commit f94ed0dce7
No known key found for this signature in database
GPG Key ID: CC65E6FD28CAE42A
2 changed files with 10 additions and 0 deletions

View File

@ -26,6 +26,11 @@
fill: var(--fg, black);
stroke: none;
}
@media (prefers-color-scheme: dark) {
text {
fill: var(--fg, white);
}
}
tspan {
alignment-baseline: central;
fill: var(--fg, inherit);

Before

Width:  |  Height:  |  Size: 317 KiB

After

Width:  |  Height:  |  Size: 317 KiB

View File

@ -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);