Skip to content

Commit eda3baa

Browse files
authored
fix(wikiwand): system theme (catppuccin#1530)
1 parent 7304ec6 commit eda3baa

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

styles/wikiwand/catppuccin.user.css

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,22 @@
1818
@-moz-document domain("wikiwand.com") {
1919
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
2020

21-
.theme-system,
21+
@media (prefers-color-scheme: light) {
22+
.theme-system {
23+
#catppuccin(@lightFlavor, @accentColor);
24+
}
25+
}
26+
@media (prefers-color-scheme: dark) {
27+
.theme-system {
28+
#catppuccin(@darkFlavor, @accentColor);
29+
}
30+
}
31+
2232
.theme-light,
2333
.theme-desert,
2434
.theme-calmness {
2535
#catppuccin(@lightFlavor, @accentColor);
2636
}
27-
.theme-system,
2837
.theme-dark,
2938
.theme-black,
3039
.theme-deepOcean,

0 commit comments

Comments
 (0)