The CSS light-dark() Function: How I Stopped Writing Two Colour Palettes
· 4 min readHow the CSS light-dark() function lets you define both theme colours in a single declaration — and why it pairs perfectly with color-scheme.
#CSS#Dark Mode#Design Tokens#Tutorial