fix(archwiki): respect site-configured color scheme (#1799)

Co-authored-by: Kacper Gibas <[email protected]>
This commit is contained in:
Kacper GibasandKacper Gibas authored and GitHub committed 2025-07-15 22:51:19 -04:00
1 parent ca689ba76b
commit a4e05c9f06
1 file changed
+12 -1
+12 -1
View File
@@ -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];