We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d04bb6 commit 9eefc8fCopy full SHA for 9eefc8f
source/css/_pages/_base/color-schema.styl
@@ -59,7 +59,7 @@ dark-colors()
59
transition background-color .2s ease-in-out
60
61
if (hexo-config("dark_mode.enable"))
62
- @media not print and (prefers-color-scheme: dark)
+ @media (prefers-color-scheme: dark)
63
:root
64
--color-mode "dark"
65
@@ -69,3 +69,7 @@ if (hexo-config("dark_mode.enable"))
69
@media not print
70
[data-user-color-scheme="dark"]
71
dark-colors()
72
+
73
+ @media print
74
+ :root
75
+ --color-mode "light"
0 commit comments