Sanity — decoded design system
Sanity's design system, decoded live by Mozaika: measured color roles, type scale, buttons with real hover/focus states, motion and the brand's own tokens.
This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/decode/sanity.io.
Decoded design system
Sanity's decoded design system: background #FFFFFF, text #0B0B0B, accent #FF4100, link #FFFFFF, primary #FF4100; type scale h1 112px / h2 72px / body 12px; 4px spacing base; 5px base radius. The single interactive/action color is #0052EF — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #FFFFFF |
| surface | #F0F0F0 |
| border | #DADADA |
| text | #0B0B0B |
| text_muted | #676767 |
| primary | #FF4100 |
| accent | #FF4100 |
| link | #FFFFFF |
| secondary | #CCD6DD |
| button_bg | #0052EF |
| button_text | #FFFFFF |
Using these colors
- Action color
#0052EF— the single interactive color; only on things you click or must notice, never large fills. primary,accentare all#FF4100— one role, not several (the action color).- accent
#FF4100— accent for emphasis — keep it rare on the page. - link
#FFFFFF— fails contrast on the background (~1.0:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). - secondary
#CCD6DD— optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two.
Typography
- Heading: Waldenburg
- Body: Waldenburg
- Mono: IBM Plex Mono-eea356736565d76d
- h1: 112px
- h2: 72px
- body: 12px
Spacing
- base unit: 4px
- scale: 2px, 4px, 6px, 8px, 12px, 16px, 18px, 24px, 32px, 48px
Radii
- base: 5px
- button: 9999px
Motion
Micro-interactions run at 150ms (dominant) with cubic-bezier(0.4, 0, 0.2, 1).
- durations: 150ms · 600ms · 200ms
- easings:
cubic-bezier(0.4, 0, 0.2, 1)·linear - animated properties: color, outline-color, opacity, border-color
Native design tokens
| Token | Value |
|---|---|
--osano-clear-dialog-background | rgba(18,25,35,0) |
--osano-button-border-color | #fff |
--osano-button-background-color | #f36458 |
--osano-button-foreground-color | #121923 |
--osano-dialog-background-color | #121923 |
--osano-dialog-foreground-color | #afbaca |
--osano-info-dialog-overlay-color | rgba(18,25,35,0.2) |
--osano-link-color | #f68b82 |
--osano-toggle-off-track-color | #3c4758 |
--osano-toggle-off-thumb-color | #ffffff |
…and 110 more measured on the page.
Button states (measured)
- primary hover: background
#FFFFFF· color#0052EF - primary focus: height
35px· outline2px dotted rgb(11, 11, 11)
Layout (measured)
- container max-width:
1296px - nav: 67px sticky
- common grid: 2 columns
Motion choreography (measured)
Load order: div.marquee-track → header.header → span.block → div.osano-cm-info-dialog__in×2 → p.text-body-lg → p.text-body-lg
Scroll reveal: 10 elements rest at opacity 0, translateY(40px), animate in over 0.6s linear.
Stagger: div ×4 — 150ms apart.
Overlay recipe (measured)
dialog panel: #FFFFFF · radius 0px
Input (measured)
height 35px · radius 3px · focus ring 0px solid rgb(255, 255, 255)
Themes
dark counterpart: background #0B0B0B, text #FFFFFF.
Responsive (measured)
- breakpoints: 376px · 590px · 768px · 980px · 1200px
- mobile (390px): hero 60px · nav hamburger
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/sanity.io
registry item · or query it over MCP: get_design_system("Sanity")
Export: DESIGN.md
# Sanity — Design System > light, modern, high, tailwind — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#FFFFFF` | | surface | `#F0F0F0` | | border | `#DADADA` | | text | `#0B0B0B` | | text_muted | `#676767` | | primary | `#FF4100` | | accent | `#FF4100` | | link | `#FFFFFF` | | secondary | `#CCD6DD` | | button_bg | `#0052EF` | | button_text | `#FFFFFF` | **Using these colors** - **Action color** `#0052EF` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `primary`, `accent` are all `#FF4100` — one role, not several. - **accent** `#FF4100` — accent for emphasis — keep it rare on the page. - **link** `#FFFFFF` — fails contrast on the background (~1.0:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). - **secondary** `#CCD6DD` — optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two. - **Page coverage** (full-page screenshot pixels): `#070707` 63.3% · `#FFFFFF` 26.2% · `#BA8A79` 10.5% ## Typography - Heading: **Waldenburg** _(free fallback: Newsreader)_ - Body: **Waldenburg** _(free fallback: Newsreader)_ - Mono: **IBM Plex Mono-eea356736565d76d** _(measured)_ | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 112px / 400 · lh 112px · tracking -4.48px | | h2 | 72px / 400 · lh 76px · tracking -2.88px | | h3 | 48px / 400 · lh 52px · tracking -1.68px | | body | 12px / 400 · lh 18px | | small | 11px / 500 · lh 11px | - Weight ladder: 400 · 425 · 500 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** Waldenburg may be proprietary — safe free fallback: Newsreader (Google Fonts). ## Spacing - base unit: 4px (inferred from the measured scale) - measured scale: 2px, 4px, 6px, 8px, 12px, 16px, 18px, 24px, 32px, 48px — snap all gaps/padding to these - section rhythm: 128px top/bottom padding per section (measured) ## Radius - base: 5px - button: 9999px - card: 5px - pill: 9999px - sharp: 3px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `#0052EF` / `#FFFFFF` | 1px solid rgb(0, 82, 239) | 9999px | 4px 12px 4px 12px | 400 13px | none | | secondary | `color(display-p3 1 0.3333 0)` / `#0B0B0B` | 1px solid color(display-p3 1 0.3333 0) | 9999px | 4px 12px 4px 12px | 400 13px | none | **States (measured, not guessed)** - primary hover: background `#FFFFFF` · color `#0052EF` - primary focus: height `35px` · outline `2px dotted rgb(11, 11, 11)` - secondary hover: border `1px solid rgb(11, 11, 11)` · background `#0B0B0B` · color `color(display-p3 1 0.3333 0)` ## Motion - durations: 150ms (dominant) · 600ms · 200ms - easings: `cubic-bezier(0.4, 0, 0.2, 1)` (dominant) · `linear` - animated properties: color, outline-color, opacity, border-color Micro-interactions use the dominant duration + easing; nothing on the page animates slower than the longest duration above — don't invent springier motion. ## Their own tokens (verbatim from :root) | Token | Value | |-------|-------| | `--osano-clear-dialog-background` | `rgba(18,25,35,0)` | | `--osano-button-border-color` | `#fff` | | `--osano-button-background-color` | `#f36458` | | `--osano-button-foreground-color` | `#121923` | | `--osano-dialog-background-color` | `#121923` | | `--osano-dialog-foreground-color` | `#afbaca` | | `--osano-info-dialog-overlay-color` | `rgba(18,25,35,0.2)` | | `--osano-link-color` | `#f68b82` | | `--osano-toggle-off-track-color` | `#3c4758` | | `--osano-toggle-off-thumb-color` | `#ffffff` | | `--osano-toggle-on-track-color` | `#206ee9` | | `--osano-toggle-on-thumb-color` | `#ffffff` | _…and 108 more measured on the page._ Prefer these names when extending their system — it's the brand's actual vocabulary. ## Layout (measured) - container max 1296px · common grid: 2-col - nav: 67px sticky · bg #FFFFFF | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | 0 | 900 | 2 | 8 | 0/0 | — | | 900 | 1192 | — | — | 128/128 | — | | 2092 | 1073 | 2 | 24 | 128/128 | — | | 3165 | 856 | 2 | 24 | 0/0 | — | ## Motion choreography (measured) Load order: `div.marquee-track` @0ms → `header.header` @103ms → `span.block` @103ms → `div.osano-cm-info-dialog__in`×2 @737ms → `p.text-body-lg` @908ms → `p.text-body-lg` @909ms - stagger: `div` ×4 — 150ms apart - scroll reveal: 10 elements rest at opacity 0, translateY(40px), animate in over 0.6s linear (6 revealed during the drive). - overlay dialog (auto-opened): panel #FFFFFF · r 0px · border 1px solid rgb(11, 11, 11) Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - input: h 35px · r 3px · bg rgba(0, 0, 0, 0) · placeholder #797979 - focus ring: `0px solid rgb(255, 255, 255)` — this exact construction, don't invent your own - disabled: bg #212121 · text #797979 ## Themes (both measured) - dark counterpart: bg `#0B0B0B` · text `#FFFFFF` ## Responsive (measured) - breakpoints: 376px · 590px · 768px · 980px · 1200px - mobile (390px): hero 60px · body 16px · nav: hamburger ## How to apply Paste the Tailwind `@theme` (or CSS variables) as your base, then build each section to its spec — verify every color, radius, and font against these tokens. Hover/focus states, shadows and motion timings above are measured from the live page — match them exactly, don't re-guess them.
An automated reading of Sanity's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with sanity.io. No screenshots stored. Removal requests: hello@mozaika.design.