Eight Sleep — decoded design system
Eight Sleep'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/eightsleep.com.
Decoded design system
Eight Sleep's decoded design system: background #FFFFFF, text #000000, accent #E8EFFF, link #8E8D92, primary #1862FF; type scale h1 115px / h2 72px / body 18px; 4px spacing base; 8px base radius. The single interactive/action color is #E8EFFF — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #FFFFFF |
| surface | #EFEFEF |
| border | #D8D8D8 |
| text | #000000 |
| text_muted | #606060 |
| primary | #1862FF |
| accent | #E8EFFF |
| link | #8E8D92 |
| button_bg | #E8EFFF |
| button_text | #FFFFFF |
Using these colors
- Action color
#E8EFFF— the single interactive color; only on things you click or must notice, never large fills. accent,button_bgare all#E8EFFF— one role, not several (the action color).- accent
#E8EFFF— THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. - primary
#1862FF— a brand color — but the call-to-action uses #E8EFFF, not this. - link
#8E8D92— reads as a neutral UI color, not a link accent — verify against the reference (action = #E8EFFF).
Typography
- Heading: PP Neue Montreal
- Body: PP Neue Montreal
- h1: 115px
- h2: 72px
- body: 18px
Spacing
- base unit: 4px
- scale: 2px, 8px, 10px, 12px, 15px, 16px, 20px, 24px, 32px, 45px
Radii
- base: 8px
- button: 8px
Shadows (elevation)
- card:
rgba(0, 0, 0, 0.15) 0px 4px 20px 0px - overlay:
rgba(0, 0, 0, 0.55) 2.836px 2.836px 90.745px 0px
Motion
Micro-interactions run at 100ms (dominant) with ease.
- durations: 100ms · 200ms · 300ms
- easings:
ease·ease-out - animated properties: stroke, background-color, color, border-color
Native design tokens
| Token | Value |
|---|---|
--color-red-900 | oklch(39.6% .141 25.723) |
--color-tertiary-bg | #f4f2f0 |
--color-blue-700 | oklch(48.8% .243 264.376) |
--color-amber-600 | oklch(66.6% .179 58.318) |
--color-secondary-stroke | #dedbd9 |
--color-grey-4 | #696765 |
--color-green-100 | oklch(96.2% .044 156.743) |
--color-red-200 | oklch(88.5% .062 18.334) |
--color-blue-300 | oklch(80.9% .105 251.813) |
--color-gray-300 | oklch(87.2% .01 258.338) |
…and 107 more measured on the page.
Layout (measured)
- container max-width:
1440px - common grid: 2 columns
Motion choreography (measured)
Load order: div.LoadingSkeleton_skeleton → ul.DesktopHeaderNav_desktop → a.Button_base__NYfuD×2 → a.Button_base__NYfuD×2 → div.swiper-slide → div.PingingDot_dot_core__XlX×5
Scroll reveal: 14 elements rest at opacity 0, translateY(30px), animate in over 0.5s ease-in-out.
Stagger: div ×10 — 400ms apart.
Overlay recipe (measured)
dialog panel: #FFFFFF · radius 8px
Responsive (measured)
- breakpoints: 600px · 640px · 768px · 1024px · 1280px · 1440px
- mobile (390px): hero 38px · nav hamburger
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/eightsleep.com
registry item · or query it over MCP: get_design_system("Eight Sleep")
Export: DESIGN.md
# Eight Sleep — Design System > light, modern, medium, custom — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#FFFFFF` | | surface | `#EFEFEF` | | border | `#D8D8D8` | | text | `#000000` | | text_muted | `#606060` | | primary | `#1862FF` | | accent | `#E8EFFF` | | link | `#8E8D92` | | button_bg | `#E8EFFF` | | button_text | `#FFFFFF` | **Using these colors** - **Action color** `#E8EFFF` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `accent`, `button_bg` are all `#E8EFFF` — one role, not several (your action color). - **accent** `#E8EFFF` — THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. - **primary** `#1862FF` — a brand color — but the call-to-action uses #E8EFFF, not this. - **link** `#8E8D92` — reads as a neutral UI color, not a link accent — verify against the reference (action = #E8EFFF). - **Page coverage** (full-page screenshot pixels): `#000000` 53% · `#FFFFFF` 27.2% · `#292626` 10.4% · `#F4F1F0` 2.7% ## Typography - Heading: **PP Neue Montreal** _(free fallback: Space Grotesk)_ - Body: **PP Neue Montreal** _(free fallback: Space Grotesk)_ | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 115px / 400 · lh 115px · tracking 0.45px | | h2 | 72px / 400 · lh 74px · tracking 0.72px | | h3 | 64px / 400 · lh 77px · tracking -1.31px | | body | 18px / 400 · lh 25px · tracking 0.16px | | small | 16px / 500 · lh 24px | | eyebrow | 10px / 500 · tracking 0.5px | - Weight ladder: 400 · 500 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** PP Neue Montreal is proprietary — closest free match: Space Grotesk (Google). Load Space Grotesk; keep PP Neue Montreal first so licensed users still get it. ## Spacing - base unit: 4px (inferred from the measured scale) - measured scale: 2px, 8px, 10px, 12px, 15px, 16px, 20px, 24px, 32px, 45px — snap all gaps/padding to these - section rhythm: 112px top/bottom padding per section (measured) ## Radius - base: 8px - button: 8px - card: 50px - pill: 9999px - sharp: 2px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `rgba(0, 0, 0, 0)` / `#FFFFFF` | none | 8px | 12px 24px 12px 24px | 400 17px | none | | secondary | `#FFFFFF` / `#FFFFFF` | none | 8px | — | — | none | **States (measured, not guessed)** - transition: `all 0.2s ease-out` ## Shadows (elevation) - card: `rgba(0, 0, 0, 0.15) 0px 4px 20px 0px` - overlay: `rgba(0, 0, 0, 0.55) 2.836px 2.836px 90.745px 0px` ## Motion - durations: 100ms (dominant) · 200ms · 300ms - easings: `ease` (dominant) · `ease-out` - animated properties: stroke, background-color, color, 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 | |-------|-------| | `--color-red-900` | `oklch(39.6% .141 25.723)` | | `--color-tertiary-bg` | `#f4f2f0` | | `--color-blue-700` | `oklch(48.8% .243 264.376)` | | `--color-amber-600` | `oklch(66.6% .179 58.318)` | | `--color-secondary-stroke` | `#dedbd9` | | `--color-grey-4` | `#696765` | | `--color-green-100` | `oklch(96.2% .044 156.743)` | | `--color-red-200` | `oklch(88.5% .062 18.334)` | | `--color-blue-300` | `oklch(80.9% .105 251.813)` | | `--color-gray-300` | `oklch(87.2% .01 258.338)` | | `--color-grey-3` | `#dedbd9` | | `--color-daytime-legacy` | `#e0cfbb` | _…and 105 more measured on the page._ Prefer these names when extending their system — it's the brand's actual vocabulary. ## Layout (measured) - container max 1440px · common grid: 2-col - nav: 0px fixed | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | 0 | 900 | 2 | — | 112/112 | — | | 1307 | 1177 | — | — | 112/112 | — | | 2484 | 800 | 2 | — | 0/0 | — | | 3284 | 324 | — | — | 0/0 | — | | 3608 | 950 | — | — | 64/112 | — | | 4558 | 783 | — | — | 88/0 | — | ## Motion choreography (measured) Load order: `div.LoadingSkeleton_skeleton` @0ms → `ul.DesktopHeaderNav_desktop` @543ms → `a.Button_base__NYfuD`×2 @543ms → `a.Button_base__NYfuD`×2 @543ms → `div.swiper-slide` @543ms → `div.PingingDot_dot_core__XlX`×5 @543ms - `div.PingingDot_dot_core__XlX` ×5 — opacity 1→1 · transform translate(-50%, -50%) scale(1)→translate(-50%, -50%) scale(1) — 2000ms ease-out · loops - `div.PingingDot_ring_effect__` ×5 — opacity 1→0 · transform translate(-50%, -50%) scale(1)→translate(-50%, -50%) scale(3) — 2000ms cubic-bezier(0.165, 0.84, 0.44, 1) (delay 400ms) · loops - stagger: `div` ×10 — 400ms apart - scroll reveal: 14 elements rest at opacity 0, translateY(30px), animate in over 0.5s ease-in-out (0 revealed during the drive). - overlay dialog (auto-opened): panel #FFFFFF · r 8px · shadow rgba(0, 0, 0, 0.15) 0px 4px 20px 0px - exit: opacity from 1 · 350ms cubic-bezier(0.4, 0, 0.2, 1) | transform from translateY(0px) · 350ms cubic-bezier(0.4, 0, 0.2, 1) Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - disabled: bg rgba(0, 0, 0, 0) · text #000000 ## Responsive (measured) - breakpoints: 600px · 640px · 768px · 1024px · 1280px · 1440px - mobile (390px): hero 38px · body 17px · 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 Eight Sleep's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with eightsleep.com. No screenshots stored. Removal requests: hello@mozaika.design.