Loading lesson…
Level 1 · Apprentice0 XP
CSS Modules, Tailwind, design tokens and dark mode, with styles that scale.
Step 1 / 5
ProblemA product has 40 slightly different blues and 12 button styles. Changing the brand colour takes a week.
← → step
Before this: Accessible React
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Define colour, spacing and radius tokens as CSS variables with a dark theme, then refactor three components to use only tokens. Change the accent colour in one place and check every screen.