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
0 reaction

m0rch_ pfp
m0rch_
@warpcastenjoyer
Optimize your CSS with `light-dark()` and `color-scheme` for dark mode support without redundant code. Check out the new features!
0 reply
0 recast
0 reaction

m0rch_ pfp
m0rch_
@warpcastenjoyer
Efficiently manage light and dark mode colors with CSS' new features, simplifying the process and enhancing user experience. Check out the details!
0 reply
0 recast
0 reaction