4 ms·
Correction, the media query should have been: @media (prefers-color-scheme: dark) { :root { --light: ; --dark:initial; } } Missed the selector.
by miragecraft 3y ago
Correction, the media query should have been:
@media (prefers-color-scheme: dark) {
:root {
--light: ; --dark:initial;
}
}
Missed the selector.