feat(reddit): support auto/system display mode (#2332)
This commit is contained in:
1 file changed
+11
@@ -34,6 +34,17 @@
|
||||
#catppuccin(@darkFlavor);
|
||||
}
|
||||
|
||||
:root:not(.theme-dark, .theme-light) {
|
||||
&.theme-beta, .theme-beta, &.theme-rpl, .theme-rpl {
|
||||
@media (prefers-color-scheme: light) {
|
||||
#catppuccin(@lightFlavor);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
#catppuccin(@darkFlavor);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@flavor) {
|
||||
#lib.palette();
|
||||
#lib.defaults();
|
||||
|
||||
Reference in new issue
Block a user