Foundations

Typography, colors, spacing, and core design tokens

Typography

Headings
Semantic heading hierarchy

Heading 1

text-4xl font-bold

Heading 2

text-3xl font-semibold

Heading 3

text-2xl font-semibold

Heading 4

text-xl font-semibold
Heading 5
text-lg font-medium
Heading 6
text-base font-medium
Body Text
Text styles for content

Large text for emphasis

text-lg

Default body text

text-base

Small text for captions

text-sm

Extra small text

text-xs

Muted text

text-muted-foreground

Colors

Primary Colors
Main brand colors

Primary

bg-primary

Primary Foreground

bg-primary-foreground
Secondary Colors
Supporting colors

Secondary

bg-secondary

Accent

bg-accent

Muted

bg-muted
Semantic Colors
Status and feedback colors

Destructive

bg-destructive

Success

bg-green-500

Warning

bg-yellow-500

Spacing

Spacing Scale
Consistent spacing values

1

4px

p-1

2

8px

p-2

3

12px

p-3

4

16px

p-4

6

24px

p-6

8

32px

p-8

12

48px

p-12

16

64px

p-16

Border Radius

Radius Scale
Consistent border radius values

None

0px

rounded-none

Small

2px

rounded-sm

Default

6px

rounded

Medium

6px

rounded-md

Large

8px

rounded-lg

Extra Large

12px

rounded-xl

2XL

16px

rounded-2xl

Full

9999px

rounded-full