News for hackers. Stuff that matters.
Re:The Future of CSS: Easy Light-Dark Mode Color Switching w... by miragecraft on Tuesday October 10, 2023 @10:04AM (#37832259)
Correction, the media query should have been:

@media (prefers-color-scheme: dark) { :root { --light: ; --dark:initial; } }

Missed the selector.

There are no comments on this comment yet.