Day 19 of 60Web DevCore60–90 min Preview
Design tokens and theming
Move every hardcoded colour and size into CSS variables, then ship a dark mode toggle that persists across reloads.
What this covers
- CSS custom properties
- Theme switching
- Persistence
Move every hardcoded colour and size into CSS variables, then ship a dark mode toggle that persists across reloads.