fix(nixos-search): align theme behavior with upstream manual toggle (#2247)

This commit is contained in:
bitbloxhub authored and GitHub committed 2026-05-14 10:01:57 -05:00
1 parent 8d1229e046
commit 09ab0e0c9c
1 file changed
+9 -1
+9 -1
View File
@@ -18,7 +18,7 @@
@import "https://userstyles.catppuccin.com/lib/lib.less";
@-moz-document domain("search.nixos.org") {
:root {
:root:not([data-theme]) {
@media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor);
}
@@ -27,6 +27,14 @@
}
}
:root[data-theme="dark"] {
#catppuccin(@darkFlavor);
}
:root[data-theme="light"] {
#catppuccin(@lightFlavor);
}
#catppuccin(@flavor) {
#lib.palette();
#lib.defaults();