Files
cc-switch/tests/lib
Jason 947a8a8b06 feat(ui): add v7 design tokens and shared primitives
Foundation for the v7 redesign; no layout changes yet.

- Add the v7 tokens (surfaces, text, action, inverse, direct / route / stack,
  status, chart, shadows) to index.css and expose them in Tailwind together
  with v7 radius, shadow and type-role scales; teach tailwind-merge the new
  names so text-body no longer cancels text-fg-1.
- Align the shadcn HSL tokens (background, card, muted, border, ring) with the
  v7 palette and use the neutral ring for focus outlines.
- Rename light / dark to Light / Dark Side of the Moon with System first, and
  pause transitions while switching so colors don't fade in piece by piece.
- Add v7 button variants (solid, neutral, quiet, direct, route, stack) and
  sizes, plus HelpTip / DisabledReason (the "?" card), SegmentedControl,
  Notice / NoticeSlot and Sheet.
- Respect the OS reduced-motion setting for framer-motion.
2026-10-03 23:28:58 +08:00
..