feat(reddit): support auto/system display mode (#2332)

This commit is contained in:
leah authored and GitHub committed 2026-10-17 17:17:37 -05:00
1 parent 7b16621cd6
commit 6aed6a1128
1 file changed
+11
+11
View File
@@ -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();