The CSS light-dark() Function: How I Stopped Writing Two Colour Palettes

How the CSS light-dark() function lets you define both theme colours in a single declaration — and why it pairs perfectly with color-scheme.