fix(archwiki): respect site-configured color scheme (#1799)
Co-authored-by: Kacper Gibas <[email protected]>
This commit is contained in:
1 parent
ca689ba76b
commit
a4e05c9f06
1 file changed
+12
-1
@@ -16,7 +16,10 @@
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("wiki.archlinux.org") {
|
||||
:root {
|
||||
:root.skin-theme-clientpref-os,
|
||||
.vector-feature-night-mode-enabled,
|
||||
.skin-invert,
|
||||
.notheme {
|
||||
@media (prefers-color-scheme: light) {
|
||||
#catppuccin(@lightFlavor);
|
||||
}
|
||||
@@ -24,6 +27,14 @@
|
||||
#catppuccin(@darkFlavor);
|
||||
}
|
||||
}
|
||||
|
||||
:root.skin-theme-clientpref-night {
|
||||
#catppuccin(@darkFlavor);
|
||||
}
|
||||
|
||||
:root.skin-theme-clientpref-day {
|
||||
#catppuccin(@lightFlavor);
|
||||
}
|
||||
|
||||
#catppuccin(@flavor) {
|
||||
@rosewater: @catppuccin[@@flavor][@rosewater];
|
||||
|
||||
Reference in new issue
Block a user