fix(stylus): dark+light mode problem (again x2) (#268)
* Update README.md * Update README.md * fix(stylus): dark+light mode options * update version code
This commit is contained in:
1 parent
026ab31f4d
commit
188e96539f
1 file changed
+5
-9
@@ -2,7 +2,7 @@
|
|||||||
@name Stylus Catppuccin
|
@name Stylus Catppuccin
|
||||||
@namespace github.com/catppuccin/userstyles/styles/stylus
|
@namespace github.com/catppuccin/userstyles/styles/stylus
|
||||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/stylus
|
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/stylus
|
||||||
@version 1.0.8
|
@version 1.0.9
|
||||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/stylus/catppuccin.user.css
|
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/stylus/catppuccin.user.css
|
||||||
@description Soothing pastel theme for Stylus
|
@description Soothing pastel theme for Stylus
|
||||||
@author Catppuccin
|
@author Catppuccin
|
||||||
@@ -287,14 +287,10 @@
|
|||||||
background: @mantle;
|
background: @mantle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (prefers-color-scheme: light) {
|
[data-ui-theme="light"] {
|
||||||
:root {
|
#catppuccin(@lightFlavor, @accentColor);
|
||||||
#catppuccin(@lightFlavor, @accentColor);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@media (prefers-color-scheme: dark) {
|
[data-ui-theme="dark"] {
|
||||||
:root {
|
#catppuccin(@darkFlavor, @accentColor);
|
||||||
#catppuccin(@darkFlavor, @accentColor);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user