# Design System — The Final Solution
**Last updated:** 2026-06-27 (Marketplace/profile UX pass, compact type scale, single-button theme toggle)
## TL;DR
The codebase had a bug class — "white text on grey dropdown" (BB.6) and
its siblings — that kept reappearing because components bypassed the
design primitives. The fix:
1. **Semantic tokens** replaced palette scales as the API. Components use
`bg-surface-base`, `text-text-primary`, `bg-action` — not
`bg-white dark:bg-neutral-900`, `text-neutral-700 dark:text-neutral-300`,
`bg-primary-600`.
2. **Primitives** (``, `