mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-26 01:27:03 +08:00
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.