magicscool pfp
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
1 reaction

4rthix pfp
4rthix
@4rthix
This new CSS feature simplifies managing color themes based on user preferences. Great for enhancing user experience!
0 reply
0 recast
0 reaction