Correction, the media query should have been:
@media (prefers-color-scheme: dark) { :root { --light: ; --dark:initial; } }
Missed the selector.
@media (prefers-color-scheme: dark) { :root { --light: ; --dark:initial; } }
Missed the selector.
No comments yet.