๐จ Design Tokens
Radius
--radius-sm
--radius-md
--radius-lg
--radius-xl
--radius-pill
Shadows
--shadow-xs
--shadow-sm
--shadow-md
--shadow-lg
Typography
--text-xs (0.875rem)
--text-sm (0.9rem)
--text-base-sm (0.95rem)
--text-base (1rem)
--text-md (1.15rem)
--text-lg (1.25rem)
--text-xl (1.75rem)
--text-2xl (2.5rem)
Spacing
--space-xs
--space-sm
--space-md
--space-lg
--space-xl
๐ Cheat Sheet
๐ Radius
| Token | Value | Common Uses |
|---|---|---|
| --radius-sm | 4px | Code blocks, blockquotes |
| --radius-md | 6px | Images, thumbnails, search bars |
| --radius-lg | 8px | Prose images, embeds |
| --radius-xl | 12px | Newsletter box, 404 image |
| --radius-pill | 999px | Search bars, filter pills, buttons |
๐ Shadows
| Token | Value | Common Uses |
|---|---|---|
| --shadow-xs | 0 1px 4px rgba(0,0,0,0.03) | Inputs, subtle UI |
| --shadow-sm | 0 2px 6px rgba(0,0,0,0.05) | Small floating UI |
| --shadow-md | 0 4px 12px rgba(0,0,0,0.06) | Cards, newsletter signup |
| --shadow-lg | 0 4px 24px rgba(0,0,0,0.15) | Hero images, 404 void |
๐ค Typography
| Token | Value | Common Uses |
|---|---|---|
| --text-xs | 0.875rem | Small metadata, pagination |
| --text-sm | 0.9rem | Footnotes, post meta |
| --text-base-sm | 0.95rem | Subtext, buttons, filters |
| --text-base | 1rem | Body text, inputs |
| --text-md | 1.15rem | h4, medium headings |
| --text-lg | 1.25rem | Post titles, h3 |
| --text-xl | 1.75rem | h2, hero mobile |
| --text-2xl | 2.5rem | Main h1 titles |
๐ Spacing
| Token | Value | Common Uses |
|---|---|---|
| --space-xs | 0.25rem | Tiny gaps, icon spacing |
| --space-sm | 0.5rem | Compact gaps, filters |
| --space-md | 1rem | Paragraph margins, box padding |
| --space-lg | 2rem | Section padding |
| --space-xl | 3rem | Section rhythm, large gaps |