Sanity UI
Sanity UI
sanity
Design System
Sanity logo

Sanity

Sanity's website is a developer-content platform rendered as a nocturnal command center -- dark, precise, and deeply structured. The entire experience sits on a near-black canvas (#0b0b0b) that reads less like a "dark mode toggle" and more like the natural state of a tool built for people who live in terminals. Where most CMS marketing pages reach for frie

01

Color Palette

Brand

Accent

Neutrals

Semantic

02

Typography

Type Scale

Rendered in system-ui to clearly show scale & weight.

display48px · 400 · 1.25
Design at scale
32px32px · 400 · 1.25
Section heading
heading-lg24px · 400 · 1.4
Subheading
body16px · 400 · 1.5
Body text. The quick brown fox jumps over the lazy dog. Designed for readable line-height in long-form content.
small12px · 400 · 1.5
Supporting text
caption12px · 400 · 1.5
Caption · timestamp · 2026
label10px · 500 · 1.5
BADGE / LABEL

Fonts

Primary
Inter
Open · OFL
Designed by Rasmus Andersson. Variable font with full weight range.
Install via Google Fonts
Display
Waldenburg
Commercial
Used by ElevenLabs and Sanity.
Source · Lineto
Primary
IBM Plex Mono
Open · OFL
Install via Google Fonts
Primary
Helvetica
Commercial
Pre-installed on macOS/iOS.
Source · Linotype
03

Spacing & Shape

Spacing

PurposeValuePreview
Densitycompact
Base unit4px
Section gap32px
Card padding12px
Element gap8px

Border Radius

ElementValuePreview
buttons8px
inputs8px
cards8px
dialogs8px
badges8px
pillPill9999px

Borders

ElementValuePreview
Bottom1px solid #212121

Elevation

Subtle
Default
Elevated
Floating
Modal
04

Guidelines

Do and Don't guidelines parsed from DESIGN.md.

Do

  • Use the achromatic gray scale as the foundation -- maintain pure neutral discipline with no warm/cool tinting
  • Apply Electric Blue (#0052ef) consistently as the universal hover/active state across all interactive elements
  • Use extreme negative letter-spacing (-2px to -4.48px) on display headings 48px and above
  • Keep primary CTAs as full-pill shapes (99999px radius) with the coral-red (#f36458)
  • Use IBM Plex Mono uppercase for technical labels, tags, and system metadata
  • Communicate depth through surface color (dark-to-light) rather than shadows
  • Maintain generous vertical section spacing (64-120px) on the dark canvas
  • Use "cv01", "cv11", "cv12", "cv13", "ss07" OpenType features for display typography

Don't

  • n't introduce warm or cool color tints to the neutral scale -- Sanity's grays are pure achromatic
  • n't use drop shadows for elevation -- dark interfaces demand colorimetric depth
  • n't apply border-radius between 13px and 99998px -- the system jumps from 12px (large card) directly to pill (99999px)
  • n't mix the coral-red CTA with the electric blue interactive color in the same element
  • n't use heavy font weights (700+) -- the system maxes out at 600 and only for 11px uppercase labels
  • n't place light text on light surfaces or dark text on dark surfaces without checking the gray-on-gray contrast ratio
  • n't use traditional offset box-shadows -- ring shadows (0 0 0 Npx) or border-based containment only
  • n't break the tight line-height on headings -- 1.00-1.24 is the range, never go to 1.5+ for display text
05

Components

Buttons

button-primary
Background#f36458
Text#ffffff
Radius9999
Padding8px 16px
Font16px/400 waldenburgNormal
Use: Primary CTA pill, hover #0052ef
button-secondary
Background#0b0b0b
Text#b9b9b9
Radius9999
Padding8px 12px
Use: Dark pill, hover #0052ef
button-outlined
Background#ffffff
Text#0b0b0b
Radius9999
Padding8px
Use: Light pill, 1px #0b0b0b border, hover #0052ef
button-ghost
Background#212121
Text#b9b9b9
Radius6
Padding0px 12px
Use: Subtle button, 1px #212121 border, hover #0052ef
button-label
Background#212121
Text#b9b9b9
Font11px/600 waldenburgNormal
Use: Uppercase tab-like nav and filters

Cards

card-dark
card-dark
Background#212121
Text#ffffff
Radius6
Padding24px
Use: Dark content card, 1px #353535 border
card-feature
card-feature
Background#0b0b0b
Radius12
Padding32px
Use: Full-bleed feature card with overlaid text

Inputs

input-text
Background#0b0b0b
Text#b9b9b9
Radius3
Padding8px 12px
Use: Text input, 1px #212121 border, focus 2px #0052ef ring

Badges

badge
badge-subtle
Background#ffffff
Text#0b0b0b
Radius9999
Padding8px
Font13px
Use: Neutral subtle pill
badge
badge-filled
Background#0b0b0b
Text#ffffff
Radius9999
Padding8px
Font13px
Use: Neutral filled pill

Related design systems