fix(wikiwand): system theme (#1530)
This commit is contained in:
1 parent
7304ec6aa1
commit
eda3baa03e
1 file changed
+11
-2
@@ -18,13 +18,22 @@
|
|||||||
@-moz-document domain("wikiwand.com") {
|
@-moz-document domain("wikiwand.com") {
|
||||||
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
|
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
|
||||||
|
|
||||||
.theme-system,
|
@media (prefers-color-scheme: light) {
|
||||||
|
.theme-system {
|
||||||
|
#catppuccin(@lightFlavor, @accentColor);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
.theme-system {
|
||||||
|
#catppuccin(@darkFlavor, @accentColor);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.theme-light,
|
.theme-light,
|
||||||
.theme-desert,
|
.theme-desert,
|
||||||
.theme-calmness {
|
.theme-calmness {
|
||||||
#catppuccin(@lightFlavor, @accentColor);
|
#catppuccin(@lightFlavor, @accentColor);
|
||||||
}
|
}
|
||||||
.theme-system,
|
|
||||||
.theme-dark,
|
.theme-dark,
|
||||||
.theme-black,
|
.theme-black,
|
||||||
.theme-deepOcean,
|
.theme-deepOcean,
|
||||||
|
|||||||
Reference in new issue
Block a user