feat(design): apply Mike 2.1 tokens and redesign 4 shadcn primitives

↗ view on GitHub · z · 2026-05-13 · 7b4dccea

Batch 1 - replace globals.css @theme with bespoke Mike 2.1 token
family, rebuild Button/Input/Badge/Dropdown against the new tokens,
add vitest + 3 smoke tests.

- frontend/src/app/globals.css: bespoke unprefixed tokens (production
  family). --color-blue/--color-azure preserved as faded blue for
  legacy .usc-section / .cfr-section CSS in legal-doc viewer.
  --font-eb-garamond next/font wiring kept for legacy .font-eb-garamond
  utility.
- frontend/src/components/ui/{button,input,badge,dropdown-menu}.tsx:
  rebuilt against Mike 2.1 tokens.
- frontend/vitest.config.ts + vitest.setup.ts: test runner config.
- frontend/src/components/ui/__tests__/primitives.smoke.test.tsx:
  3 smoke tests. All pass.

Agent ID: a4c766b6e2d6a274e (general-purpose).
Repository hosman20/mike-2.0
Author z <z@zs-MacBook-Pro.local>
Authored
Parents 3da5dd95
Stats 10 files changed , +2013 , -266
Part of Mike 2.1 design token system + primitive redesigns

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-7b4dccea.md from inside the repo you want the change in.

⬇ Download capture-commit-7b4dccea.md