CSS light-dark(): Stop Duplicating Your Dark Mode Colors
The CSS light-dark() function collapses your two dark-mode palettes into a single declaration. Here is how it works, the color-scheme gotcha that trips everyone up, and how to wire up a manual theme…
Read the full article1d agoen
You might also wanna read

CSS Grid Lanes: Native Masonry Has Finally Landed
danholloran.me·5d ago

CSS field-sizing: Auto-Growing Textareas Without a Line of JavaScript
danholloran.me·8d ago

Grimicorn Neon: When a Calm Theme Goes Loud
danholloran.me·12d ago

Building Grimicorn: One Palette, Fourteen Tools
danholloran.me·13d ago

WCAG 2.2: What Frontend Developers Actually Need to Fix
danholloran.me·22d ago

CSS User Preference Media Queries: Build Accessible Experiences Without JavaScript
danholloran.me·26d ago

Comments
Sign in to join the conversation.
No comments yet. Be the first.