Prefer Semantic Surfaces Over Scattered Color Utilities
Hardcoding arbitrary colors in dozens of feature components slows down brand refreshes and creates subtle contrast regressions. Defining surface, hairline-border, and signal tokens once keeps design and code synchronized.
cssapp/globals.css
:root {
--surface-canvas: #f6f5f1;
--surface-card: #ffffff;
--border-hairline: #dddad0;
--accent-signal: #ff4d00;
}Bake Accessibility Into Core Primitives
Every shared button, pill tab, and modal primitive should expose clear focus-visible outlines, ARIA states, and reduced-motion fallbacks automatically.