Files
ui/src
enricobuehlerandClaude Fable 5 67c4b2fd91 feat: add Badge, Spinner, Skeleton, Switch, Table, EmptyState, CodeBlock primitives
- badge: cva variants default/secondary/outline/success/warn/error as
  bg-<tone>/15 text-<tone> tints, sm|default sizes, dot/pulse props
- spinner: the lens spinner graduated from the punktfunk console,
  genericized to var(--brand)/var(--brand-light); reduced-motion honored
- skeleton: Skeleton + SkeletonText pulse placeholders
- form/switch: radix Switch with motion layout-spring thumb,
  useSound("toggle"), useControllableState, material-aware track
  (new switch key in MaterialTheme)
- table: Table/TableHeader/TableBody/TableRow/TableHead/TableCell
  graduated from the console (muted tokens mapped to
  neutral-accent/secondary, which exist in this theme)
- empty-state: dashed-border centered column, error variant, icon
  entrance via new emptyStateIcon animation token + 0.08 stagger
- code-block: mono pre with optional clipboard copy button (Copy→Check)
- theme.css/globals.css: new --warn and --brand-light tones
  (+ --color-warn/--color-brand-light Tailwind mappings)
- CSF3 stories for every new primitive; subpath exports for all of them

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-20 18:34:11 +02:00
..