(Created page with ".test-auto { color: green; } @media (prefers-color-scheme: dark) { .test-auto { color: red; } }") |
No edit summary |
||
Line 1: | Line 1: | ||
.test-auto { | .test-auto { | ||
color: green; | --color-l: green; | ||
--color-d: red; | |||
color: var(--color-l); | |||
} | |||
html.skin-theme-clientpref-dark .test-auto { | |||
color: var(--color-d); | |||
} | } | ||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
.test-auto { | html.skin-theme-clientpref-os .test-auto { | ||
color: | color: var(--color-d); | ||
} | } | ||
} | } |