Card anatomy
Header · body · footer share one card surface
- Strength0.84
- Resistance0.12
- Cycles128
6 editable tokens. 3 depth levels. 1 card. 1 input. Every component derives from these — pick a token,
the whole system responds. Spec lives in design.md.
Click any swatch to recolor live. Picks persist to localStorage.
Surface tokens (background · foreground · font) flip with mode — picks apply to the dark mode you're viewing. Brand tokens apply to both.
#1a1a1a#212121#ffffff#1d3a66#3d4451#324e32on-{primary,secondary,tertiary} · border · muted · page Page (L0) → card (L1) → content (L2). No 4th level. Sidebar = L1. Inputs = L2.
--color-page --color-background --color-foreground Header · body · footer share one card surface
Sidebar = L1 (card pinned to edge)
All inputs share one shape · L2 surface · 10px radius
6 variants. on-* labels auto-contrast.
One source: lucide-react. 1.5px stroke · round caps · token-driven color. Wrap with <Icon> or <IconBadge>.
Used in feature grids, list items, profile rows.
primary tertiary secondary neutral Sizes — sm · md · lg
Inline icons. Inherit color from parent via currentColor.
sm · 14 md · 16 lg · 20 xl · 24 In context
Baked into components. Not editable. Snap to scale or polish breaks.
--radius-sm6px · chips--radius-md10px · buttons, inputs--radius-lg16px · cards--shadow-cardcards, popovers--shadow-popmenus, modals4 · 8 · 12 · 16 · 20 · 24 · 32 — every padding/gap lands here.
13 card types. Every surface in the product derives from one of these shapes.
Handle refund requests
1200 ms
3 checks passed
What would you like to do?
No agents yet
Create your first agent to get started