fix(dev.to): apply theme when logged out (#2042)
This commit is contained in:
1 parent
8e042447db
commit
7ad73e90e7
1 file changed
+8
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user