Design System
Tokens + primitives (shadcn) aligned with Figma palette
Tokens
These use shadcn token classes. If any swatch looks off, update globals.css tokens.
Background
bg-backgroundAa 123
Quick contrast check
Foreground (text sample)
Text should be readable on background
bg-background text-foregroundAa 123
Quick contrast check
Card
bg-cardAa 123
Quick contrast check
Card Foreground
bg-card text-card-foregroundAa 123
Quick contrast check
Popover
bg-popoverAa 123
Quick contrast check
Popover Foreground
bg-popover text-popover-foregroundAa 123
Quick contrast check
Muted
bg-mutedAa 123
Quick contrast check
Muted Foreground
bg-background text-muted-foregroundAa 123
Quick contrast check
Accent
bg-accentAa 123
Quick contrast check
Accent Foreground
bg-accent text-accent-foregroundAa 123
Quick contrast check
Primary
Primary / Accent
bg-primary text-primary-foregroundAa 123
Quick contrast check
Secondary
Secondary
bg-secondary text-secondary-foregroundAa 123
Quick contrast check
Destructive
Error / destructive
bg-destructive text-destructive-foregroundAa 123
Quick contrast check
Focus ring sanity check
Click the input to confirm ring color matches your Figma accent.
Buttons
Validates your shadcn button styles + token mapping.
Inputs
Default shadcn Input states.
Default
Disabled
TextField
Single component (label + helper/error + icon slots), aligned with shadcn tokens and your palette.
We’ll never share your email.
Use at least 8 characters.
Wrong password
Quick visual regression
A small snapshot block to quickly spot theme issues.
Card
Muted foreground example
Form snippet
Destructive
Error + action