Shopify — decoded design system
Shopify'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/shopify.com.
Decoded design system
Shopify's decoded design system: background #000000, text #ECECEE, accent #36F4A4, link #FFFFFF, primary #010624; type scale h1 96px / h2 55px / body 18px; 4px spacing base; 0px base radius. The single interactive/action color is #FFFFFF — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #000000 |
| surface | #0E0E0E |
| border | #232323 |
| text | #ECECEE |
| text_muted | #929293 |
| primary | #010624 |
| accent | #36F4A4 |
| link | #FFFFFF |
| button_bg | #FFFFFF |
| button_text | #000000 |
Using these colors
- Action color
#FFFFFF— the single interactive color; only on things you click or must notice, never large fills. link,button_bgare all#FFFFFF— one role, not several (the action color).- accent
#36F4A4— accent for emphasis — keep it rare on the page. - primary
#010624— a brand color — but the call-to-action uses #FFFFFF, not this.
Typography
- Heading: Neue Haas Grotesk
- Body: Inter
- h1: 96px
- h2: 55px
- body: 18px
Spacing
- base unit: 4px
- scale: 2px, 4px, 6px, 8px, 10px, 12px, 13px, 16px, 24px, 32px
Radii
- base: 0px
- button: 9999px
Shadows (elevation)
- overlay:
rgba(0, 0, 0, 0.25) 0px 10px 50px 0px, rgba(255, 255, 255, 0.25) 0px 0px 0px 1px
Motion
Micro-interactions run at 300ms (dominant) with cubic-bezier(0.4, 0, 0.2, 1).
- durations: 300ms · 150ms · 450ms
- easings:
cubic-bezier(0.4, 0, 0.2, 1)·ease-in-out - animated properties: opacity, translate, transform, scale
Native design tokens
| Token | Value |
|---|---|
--color-shade-100 | #000 |
--color-purple-500 | oklch(62.7% .265 303.9) |
--color-shade-90 | #18181b |
--color-link-dark-active | #a1a1aa |
--color-aloe-10 | #c1fbd4 |
--color-shade-30 | #d4d4d8 |
--color-green-500 | oklch(72.3% .219 149.579) |
--color-white | #fff |
--color-pistachio-10 | #d4f9e0 |
--color-zinc-300 | oklch(87.1% .006 286.286) |
…and 110 more measured on the page.
Button states (measured)
- primary hover: background
#D4D4D8 - primary focus: outline
3px solid rgb(117, 27, 233)
Layout (measured)
- container max-width:
1260px - nav: 72px sticky
- common grid: 2 columns
Motion choreography (measured)
Load order: div.motion-safe:animate-scro×4 → div.flex → div.apps-heading-group → div.flex → span.inline-block×4 → span.inline-block×6
Scroll reveal: 13 elements rest at opacity 0, animate in over 0.5s cubic-bezier(0.4, 0, 0.2, 1).
Stagger: span ×6 — 150ms apart.
Responsive (measured)
- mobile (390px): hero 60px · nav inline
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/shopify.com
registry item · or query it over MCP: get_design_system("Shopify")
Export: DESIGN.md
# Shopify — Design System > dark, modern, high, tailwind — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#000000` | | surface | `#0E0E0E` | | border | `#232323` | | text | `#ECECEE` | | text_muted | `#929293` | | primary | `#010624` | | accent | `#36F4A4` | | link | `#FFFFFF` | | button_bg | `#FFFFFF` | | button_text | `#000000` | **Using these colors** - **Action color** `#FFFFFF` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `link`, `button_bg` are all `#FFFFFF` — one role, not several (your action color). - **accent** `#36F4A4` — accent for emphasis — keep it rare on the page. - **primary** `#010624` — a brand color — but the call-to-action uses #FFFFFF, not this. - **Page coverage** (full-page screenshot pixels): `#5B6266` 38.8% · `#02090A` 15.8% · `#919191` 11.8% · `#3B4347` 11.2% ## Typography - Heading: **Neue Haas Grotesk** _(free fallback: Inter)_ - Body: **Inter** | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 96px / 400 · lh 96px | | h2 | 55px / 330 · lh 64px | | h3 | 24px / 400 · lh 27px · tracking 0.36px | | body | 18px / 500 · lh 23px · tracking 0.72px | | small | 16px / 400 · lh 24px | | eyebrow | 12px / 420 · tracking 0.72px | - Weight ladder: 330 · 400 · 420 · 500 · 550 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** Neue Haas Grotesk is proprietary — closest free match: Inter (Google). Load Inter; keep Neue Haas Grotesk first so licensed users still get it. Inter — free, on Google. ## Spacing - base unit: 4px (inferred from the measured scale) - measured scale: 2px, 4px, 6px, 8px, 10px, 12px, 13px, 16px, 24px, 32px — snap all gaps/padding to these - section rhythm: 64px top/bottom padding per section (measured) ## Radius - base: 0px - button: 9999px - card: 12px - pill: 9999px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `#FFFFFF` / `#000000` | 2px solid rgba(0, 0, 0, 0) | 9999px | 8px 20px 8px 20px | 550 16px | none | | secondary | `rgba(0, 0, 0, 0)` / `#FFFFFF` | 2px solid rgb(255, 255, 255) | 9999px | 8px 13px 8px 13px | 550 16px | none | **States (measured, not guessed)** - primary hover: background `#D4D4D8` - primary focus: outline `3px solid rgb(117, 27, 233)` - secondary hover: border `2px solid rgb(212, 212, 216)` - transition: `all 0.15s cubic-bezier(0.4, 0, 0.2, 1)` ## Shadows (elevation) - overlay: `rgba(0, 0, 0, 0.25) 0px 10px 50px 0px, rgba(255, 255, 255, 0.25) 0px 0px 0px 1px` ## Motion - durations: 300ms (dominant) · 150ms · 450ms - easings: `cubic-bezier(0.4, 0, 0.2, 1)` (dominant) · `ease-in-out` - animated properties: opacity, translate, transform, scale 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-shade-100` | `#000` | | `--color-purple-500` | `oklch(62.7% .265 303.9)` | | `--color-shade-90` | `#18181b` | | `--color-link-dark-active` | `#a1a1aa` | | `--color-aloe-10` | `#c1fbd4` | | `--color-shade-30` | `#d4d4d8` | | `--color-green-500` | `oklch(72.3% .219 149.579)` | | `--color-white` | `#fff` | | `--color-pistachio-10` | `#d4f9e0` | | `--color-zinc-300` | `oklch(87.1% .006 286.286)` | | `--color-shade-70` | `#3f3f46` | | `--color-shade-40` | `#a1a1aa` | _…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 1260px · common grid: 2-col - nav: 72px sticky | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | -1 | 824 | — | — | 72/0 | — | | 822 | 653 | — | — | 0/0 | — | | 1474 | 653 | 2 | — | 64/64 | — | | 2126 | 1477 | 3 | 16 | 64/64 | — | | 3602 | 828 | — | — | 64/64 | — | | 4429 | 931 | — | — | 64/128 | — | ## Motion choreography (measured) Load order: ``×4 @0ms → `div.flex` @288ms → `div.apps-heading-group` @320ms → `div.flex` @320ms → `span.inline-block`×4 @399ms → `span.inline-block`×6 @399ms - `span.inline-block` ×10 — translate 0px -400px→0px 400px — 450ms cubic-bezier(0.5, 0, 0.5, 1) (delay 3000ms) - stagger: `span` ×6 — 150ms apart - scroll reveal: 13 elements rest at opacity 0, animate in over 0.5s cubic-bezier(0.4, 0, 0.2, 1) (4 revealed during the drive). Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - card ×3: pad 0px 0px 0px 0px · r 5px · bg rgba(0, 0, 0, 0) - hover: font-weight `400` · letter-spacing `normal` - link: #FFFFFF · underline ## Responsive (measured) - mobile (390px): hero 60px · body 16px · nav: inline ## 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 Shopify's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with shopify.com. No screenshots stored. Removal requests: hello@mozaika.design.