1
0
mirror of https://gitlab.com/MisterBiggs/brain-quartz.git synced 2025-07-24 23:31:29 +00:00

feat: support non-singleton darkmode

This commit is contained in:
Jacky Zhao
2025-03-10 11:44:47 -07:00
parent 23df17233d
commit dcaf806190
3 changed files with 12 additions and 15 deletions

View File

@@ -29,19 +29,19 @@
}
:root[saved-theme="dark"] .darkmode {
& > #dayIcon {
& > .dayIcon {
display: none;
}
& > #nightIcon {
& > .nightIcon {
display: inline;
}
}
:root .darkmode {
& > #dayIcon {
& > .dayIcon {
display: inline;
}
& > #nightIcon {
& > .nightIcon {
display: none;
}
}