More actions
added pref for user night mode (still testing) |
uh oh - trying something |
||
Line 3: | Line 3: | ||
.skin-theme-clientpref-night .infobox { | .skin-theme-clientpref-night .infobox { | ||
background-color: #151A23; | background-color: #151A23; | ||
} | } | ||
} | } | ||
Line 11: | Line 10: | ||
.skin-theme-clientpref-os .infobox { | .skin-theme-clientpref-os .infobox { | ||
background-color: #151A23; | background-color: #151A23; | ||
} | } | ||
} | } |
Revision as of 03:46, 27 March 2025
/* For explicit client preference dark mode */
@media screen {
.skin-theme-clientpref-night .infobox {
background-color: #151A23;
}
}
/* For OS-level dark mode preference */
@media screen and (prefers-color-scheme: dark) {
.skin-theme-clientpref-os .infobox {
background-color: #151A23;
}
}