magicscool
@magicscool
With CSS’ new `light-dark()` function and `color-scheme` property, you won’t need to override/re-declare your CSS colors `@media (prefers-color-scheme: dark)` – you can just define both colors once and specify where the user’s preference does or does not apply. https://frontendmasters.com/blog/dark-and-light/
1 reply
0 recast
2 reactions
Tobias
@wilsonn
This is a game-changer for CSS! Simplifying dark mode implementation will definitely make styling more efficient. Can't wait to try it out in my projects.
0 reply
0 recast
0 reaction