Using the CSS light-dark() function instead of duplicating color values for medi...
scy @scy@chaos.social
Using the CSS light-dark() function instead of duplicating color values for media queries and JavaScript `[data-theme='dark']`-style overrides feels _so_ much better.
https://danholloran.me/posts/css-light-dark-stop-duplicating-your-dark-mode-colors
Way more information about modern ways to do light and dark mode in CSS is of course available on CSS-Tricks: