Back to Design.md References

Cal.com

An open-source scheduling and booking tool, styled with a clean, neutral interface aimed at developers.

Inter · Cal Sans · JetBrains Mono

Color palette

Accent

Primary#111111
Primary Active#242424
Primary Disabled#e5e7eb
Brand Accent#3b82f6
Badge Orange#fb923c
Badge Violet#8b5cf6
Badge Emerald#34d399

Semantic

Success#10b981
Warning#f59e0b
Error#ef4444

Neutral

Ink#111111
Body#374151
Muted#6b7280
Muted Soft#898989
Hairline#e5e7eb
Hairline Soft#f3f4f6
Canvas#ffffff
Surface Soft#f8f9fa
Surface Card#f5f5f5
Surface Strong#e5e7eb
Surface Dark#101010
Surface Dark Elevated#1a1a1a
On Primary#ffffff
On Dark#ffffff
On Dark Soft#a1a1aa
Badge Pink#ec4899

Type scale

Display Xl
64px · 600 · 1.05
Display Lg
48px · 600 · 1.1
Display Md
36px · 600 · 1.15
Display Sm
28px · 600 · 1.2
Title Lg
22px · 600 · 1.3
Title Md
18px · 600 · 1.4
Title Sm
16px · 600 · 1.4
Body Md
16px · 400 · 1.5
Body Sm
14px · 400 · 1.5
Code
14px · 400 · 1.5
Button
14px · 600 · 1
Nav Link
14px · 500 · 1.4
Caption
13px · 500 · 1.4

Fonts

PrimaryInterWeights 400, 500, 600Fallback: sans-serif
SecondaryCal SansWeights 600Fallback: Inter, sans-serif
CodeJetBrains MonoWeights 400Fallback: ui-monospace, monospace

Spacing & shape

Xxs
4px
Xs
8px
Sm
12px
Md
16px
Lg
24px
Xl
32px
Xxl
48px
Section
96px
Xs
4px
Sm
6px
Md
8px
Lg
12px
Xl
16px
Pill
9999px

Guidelines

  • Reserve Primary for primary actions and emphasis — it is the system's one accent color.
  • Keep type on the documented family set (Inter, Cal Sans, JetBrains Mono).
  • Use one of the documented corner radii (4px, 6px, 8px, 12px, 16px, 9999px) rather than a one-off value.
  • Build spacing from the documented scale (4px, 8px, 12px, 16px, 24px, 32px, 48px, 96px) instead of arbitrary padding.
  • Don't apply Primary as a full-page background or a large fill.
  • Don't introduce a second accent color alongside Primary.
  • Don't mix in an additional typeface beyond the ones documented here.