What problem does it solve? Hardcoded colours, radii and shadows scattered across components make rebrands, dark mode and accessibility fixes expensive and error-prone. This Skill provides a canonical four-layer token architecture (brand primitives, semantic tokens, theme overrides, framework mapping) plus an audit script that mechanically enforces it. ## Core Features & Use Cases - Token scaffolding: Copy the starter index.css with OKLCH brand ramps, shadcn/ui-compatible semantic names, dark-theme overrides and Tailwind v4 @theme aliases, then edit only layer 1 to rebrand. - Dark theme procedure: Class-based .dark toggling, color-scheme handling, first-paint flash prevention, and per-token exception guidance for status hues, shadows and images. - Automated audit: check-tokens.mjs runs seven checks — colour literals, var() fallbacks, dark-only tokens, derived literals, broken aliases, arbitrary values, and derived WCAG contrast pairs in both themes. - Use Case: Adopting the system into a legacy repo: run the audit for a census, land the token file first, convert by token rather than by file, and ratchet the finding count to zero. ## Quick Start Ask the agent to scaffold the design token system into src/index.css for your brand and run the token audit script to verify it passes clean.