fix(dev.to): apply theme when logged out (#2042)

This commit is contained in:
uncenter authored and GitHub committed 2025-12-29 12:30:26 -06:00
1 parent 8e042447db
commit 7ad73e90e7
1 file changed
+8
+8
View File
@@ -26,6 +26,14 @@
body.light-theme {
#catppuccin(@lightFlavor);
}
body[data-user-status="logged-out"] {
@media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor);
}
@media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor);
}
}
#catppuccin(@flavor) {
#lib.palette();