Windsurf — decoded design system
Windsurf'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/windsurf.com.
Decoded design system
Windsurf's decoded design system: background #F7F6F5, text #000000, accent #317CFF, link #191919, primary #2200FF; type scale h1 64px / h2 40px / body 16px; 4px spacing base; 0px base radius. The single interactive/action color is #191919 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #F7F6F5 |
| surface | #E8E7E6 |
| border | #D1D1D0 |
| text | #000000 |
| text_muted | #5D5D5D |
| primary | #2200FF |
| accent | #317CFF |
| link | #191919 |
| secondary | #317CFF |
| button_bg | #191919 |
| button_text | #FFFFFF |
Using these colors
- Action color
#191919— the single interactive color; only on things you click or must notice, never large fills. accent,secondaryare all#317CFF— one role, not several (the action color).link,button_bgare all#191919— one role, not several (the action color).- accent
#317CFF— accent for emphasis — keep it rare on the page. - primary
#2200FF— a brand color — but the call-to-action uses #191919, not this.
Typography
- Heading: NB International Pro
- Body: NB International Pro
- Mono: Geist Mono
- h1: 64px
- h2: 40px
- body: 16px
Spacing
- base unit: 4px
- scale: 2px, 4px, 5px, 6px, 8px, 10px, 12px, 14px, 16px, 20px
Radii
- base: 0px
- button: 2px
Shadows (elevation)
- subtle:
rgba(0, 0, 0, 0.05) 0px 1px 2px 0px - card:
rgba(0, 0, 0, 0.06) 0px 0px 3px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 0.5px - overlay:
rgba(0, 0, 0, 0.14) 0px 8px 24px -6px, rgba(0, 0, 0, 0.06) 0px 2px 6px 0px
Motion
Micro-interactions run at 150ms (dominant) with ease.
- durations: 150ms · 250ms · 200ms
- easings:
ease·cubic-bezier(0.4, 0, 0.2, 1) - animated properties: background-color, opacity, transform, color
Native design tokens
| Token | Value |
|---|---|
--color-neutral-500 | oklch(55.6% 0 0) |
--color-dt-text-light | #e7e7e7 |
--color-dt-text-secondary | rgb(25 25 25 / .56) |
--color-dt-text-inverse-adaptive | rgb(255 255 255) |
--color-dt-border-subtle | rgb(0 0 0 / .06) |
--color-text-secondary | #1919198f |
--color-dt-tint | rgb(0 0 0 / .04) |
--color-dt-purple | rgb(149 108 222) |
--color-white | #fff |
--color-dt-border-secondary | rgb(0 0 0 / .06) |
…and 103 more measured on the page.
Button states (measured)
- primary focus: outline
1px auto rgb(16, 16, 16)
Layout (measured)
- container max-width:
1440px - nav: 67px fixed
- common grid: 2 columns
Motion choreography (measured)
Load order: span.truncate×6 → span×2 → span.inline-block → span×14 → div.flex×5 → span
Scroll reveal: 5 elements rest at opacity 0, translateY(8px), animate in over 0.45s ease.
Input (measured)
height 29.75px · radius 0px
Responsive (measured)
- breakpoints: 640px · 768px · 1024px · 1400px
- mobile (390px): hero 40px · nav hamburger
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/windsurf.com
registry item · or query it over MCP: get_design_system("Windsurf")
Export: DESIGN.md
# Windsurf — Design System > light, modern, medium, tailwind — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#F7F6F5` | | surface | `#E8E7E6` | | border | `#D1D1D0` | | text | `#000000` | | text_muted | `#5D5D5D` | | primary | `#2200FF` | | accent | `#317CFF` | | link | `#191919` | | secondary | `#317CFF` | | button_bg | `#191919` | | button_text | `#FFFFFF` | **Using these colors** - **Action color** `#191919` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `accent`, `secondary` are all `#317CFF` — one role, not several. - `link`, `button_bg` are all `#191919` — one role, not several (your action color). - **accent** `#317CFF` — accent for emphasis — keep it rare on the page. - **primary** `#2200FF` — a brand color — but the call-to-action uses #191919, not this. - **Page coverage** (full-page screenshot pixels): `#F7F6F5` 95.7% · `#B8B8BA` 4.3% ## Typography - Heading: **NB International Pro** _(free fallback: Newsreader)_ - Body: **NB International Pro** _(free fallback: Newsreader)_ - Mono: **Geist Mono** | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 64px / 400 · lh 64px · tracking -1.92px | | h2 | 40px / 400 · lh 42px · tracking -1.2px | | h3 | 32px / 400 · lh 38px · tracking -0.64px | | body | 16px / 400 · lh 22px | | small | 15px / 400 · lh 20px | | eyebrow | 12px / 400 · tracking 0.36px | - Weight ladder: 400 · 500 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** NB International Pro may be proprietary — safe free fallback: Newsreader (Google Fonts). ## Spacing - base unit: 4px (inferred from the measured scale) - measured scale: 2px, 4px, 5px, 6px, 8px, 10px, 12px, 14px, 16px, 20px — snap all gaps/padding to these - section rhythm: 48px top/bottom padding per section (measured) ## Radius - base: 0px - button: 2px - card: 6px - pill: 9999px - sharp: 2px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `#191919` / `#FFFFFF` | none | 2px | 6px 12px 5px 12px | 400 14px | none | | secondary | `rgba(0, 0, 0, 0)` / `#191919` | 1px solid rgb(25, 25, 25) | 2px | 5px 11px 4px 11px | 400 14px | none | **States (measured, not guessed)** - primary focus: outline `1px auto rgb(16, 16, 16)` - transition: `opacity 0.15s cubic-bezier(0, 0, 0.2, 1)` ## Shadows (elevation) - subtle: `rgba(0, 0, 0, 0.05) 0px 1px 2px 0px` - card: `rgba(0, 0, 0, 0.06) 0px 0px 3px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 0.5px` - overlay: `rgba(0, 0, 0, 0.14) 0px 8px 24px -6px, rgba(0, 0, 0, 0.06) 0px 2px 6px 0px` ## Motion - durations: 150ms (dominant) · 250ms · 200ms - easings: `ease` (dominant) · `cubic-bezier(0.4, 0, 0.2, 1)` - animated properties: background-color, opacity, transform, 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-neutral-500` | `oklch(55.6% 0 0)` | | `--color-dt-text-light` | `#e7e7e7` | | `--color-dt-text-secondary` | `rgb(25 25 25 / .56)` | | `--color-dt-text-inverse-adaptive` | `rgb(255 255 255)` | | `--color-dt-border-subtle` | `rgb(0 0 0 / .06)` | | `--color-text-secondary` | `#1919198f` | | `--color-dt-tint` | `rgb(0 0 0 / .04)` | | `--color-dt-purple` | `rgb(149 108 222)` | | `--color-white` | `#fff` | | `--color-dt-border-secondary` | `rgb(0 0 0 / .06)` | | `--color-accent` | `#20f` | | `--color-dt-text-muted` | `#0006` | _…and 101 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: 67px fixed · bg #F7F6F5 | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | 188 | 928 | 2 | 24 | 0/0 | 63/37 | | 1236 | 457 | 5 | 8 | 0/0 | — | | 1813 | 471 | 2 | 40 | 0/0 | — | | 2404 | 471 | 2 | 40 | 0/0 | — | | 2995 | 571 | 2 | 40 | 0/0 | — | | 3686 | 640 | 2 | 24 | 0/0 | — | | 4446 | 202 | 2 | 48 | 0/0 | 21/79 | | 4768 | 415 | 4 | 25 | 0/0 | — | ## Motion choreography (measured) Load order: `span.truncate`×6 @0ms → `span`×2 @271ms → `span.inline-block` @271ms → `span`×14 @1311ms → `div.flex`×5 @2511ms → `span` @2511ms - scroll reveal: 5 elements rest at opacity 0, translateY(8px), animate in over 0.45s ease (2 revealed during the drive). Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - input: h 29.75px · r 0px · bg rgba(0, 0, 0, 0) · placeholder oklab(0.213404 0.00000968575 0.00000427663 / 0.5) - card ×3: pad 8px 8px 8px 8px · r 10px · bg rgba(0, 0, 0, 0) - hover: font-weight `400` · letter-spacing `normal` ## Responsive (measured) - breakpoints: 640px · 768px · 1024px · 1400px - mobile (390px): hero 40px · 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 Windsurf's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with windsurf.com. No screenshots stored. Removal requests: hello@mozaika.design.