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 96acdd696c
commit 1e8fc8e20c
14 changed files with 80 additions and 20 deletions

View File

@@ -0,0 +1,19 @@
@use "test_common";
:root {
--bg: #d3d3d3;
--fg: black;
}
/*
* 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 {
&[open] > summary::marker {
content: url("/static/success-open-black.svg");
}
> summary::marker {
content: url("/static/success-closed-black.svg");
}
}