CSS that picks its own readable text color (opens in new tab)
🚀 Frontend Focus #747 — June 24, 2026 | Read on the web Modern CSS Theming with light-dark(), contrast-color(), and Style Queries — Get dark mode, automatic readable text, and per-component palettes, all from a single brand color with no JavaScript. Una combines light-dark(), the new contrast-color(), and style queries into one adaptive system, now Baseline across browsers. Una Kravets Your Loading Spinner Is a Slow Query in Disguise — Behind it is an analytics query your database can't answ...
Read the original article