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
|
||||
@namespace github.com/catppuccin/userstyles/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
|
||||
@description Soothing pastel theme for Stylus
|
||||
@author Catppuccin
|
||||
@@ -287,14 +287,10 @@
|
||||
background: @mantle;
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
[data-ui-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
[data-ui-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user