1
0
forked from rosa/hakurei

cmd/pkgserver: fix dark mode in test web UI

This commit is contained in:
Kat
2026-03-22 06:14:10 +11:00
parent 550fd6f724
commit f12c74e77b
14 changed files with 80 additions and 20 deletions

View File

@@ -0,0 +1,19 @@
@use "test_common";
:root {
--bg: #2c2c2c;
--fg: ghostwhite;
}
/*
* The color of an SVG in a content: cannot be controlled via CSS as it's not
* present in the DOM, so use duplicated versions.
*/
details.test-node.success {
> summary::marker {
content: url("/static/success-closed-white.svg");
}
&[open] > summary::marker {
content: url("/static/success-open-white.svg");
}
}