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/
0 reply
0 recast
0 reaction