MozaikaDesign system

Windsurf — Design System

light · modern · medium · tailwind · confidence 90% · deep decode

The full decoded design system for Windsurf: color roles, type scale, spacing, radii and paste-ready DESIGN.md / Tailwind / CSS exports.

Open in Mozaika →

This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/ds/windsurf.

Tokens

Windsurf's decoded design system: background #F7F6F5, text #191919, accent #317CFF, link #317CFF, primary #2200FF; type scale h1 64px / h2 40px / body 16px; 4px spacing base; 0px base radius. The single interactive/action color is #F7F6F5 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#F7F6F5
surface#E9E8E7
border#D5D4D4
text#191919
text_muted#6D6C6C
primary#2200FF
accent#317CFF
link#317CFF
secondary#317CFF
button_bg#F7F6F5
button_text#191919

Using these colors

Typography

Spacing

Radii

Shadows (elevation)

Motion

Micro-interactions run at 150ms (dominant) with ease.

Native design tokens

TokenValue
--color-neutral-500oklch(55.6% 0 0)
--color-dt-text-light#e7e7e7
--color-dt-text-secondaryrgb(25 25 25 / .56)
--color-dt-text-inverse-adaptivergb(255 255 255)
--color-dt-border-subtlergb(0 0 0 / .06)
--color-text-secondary#1919198f
--color-dt-tintrgb(0 0 0 / .04)
--color-dt-purplergb(149 108 222)
--color-white#fff
--color-dt-border-secondaryrgb(0 0 0 / .06)

…and 103 more measured on the page.

Button states (measured)

Layout (measured)

Motion choreography (measured)

Load order: span.truncate×6 → span×2 → span.inline-blockspan×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)

Per-section tokens (14)

Export: DESIGN.md

# Windsurf — Design System

> light, modern, medium, tailwind — deep decode (measured live)

## Colors

| Role | Value |
|------|-------|
| bg | `#F7F6F5` |
| surface | `#E9E8E7` |
| border | `#D5D4D4` |
| text | `#191919` |
| text_muted | `#6D6C6C` |
| primary | `#2200FF` |
| accent | `#317CFF` |
| link | `#317CFF` |
| secondary | `#317CFF` |
| button_bg | `#F7F6F5` |
| button_text | `#191919` |

**Using these colors**

- **Action color** `#F7F6F5` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds.
- `accent`, `link`, `secondary` are all `#317CFF` — one role, not several.
- **accent** `#317CFF` — accent for emphasis — keep it rare on the page.
- **primary** `#2200FF` — a brand color — but the call-to-action uses #F7F6F5, 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.

---

> **Decoded with Mozaika** — measured live, not guessed. Full decoded design system + one-command install: mozaika.design/ds/windsurf

Export: Tailwind v4 (@theme)

@theme {
  /* action color #F7F6F5 — the one interactive color; buttons/links/emphasis only, never large fills. */
  --color-bg: #F7F6F5;
  --color-surface: #E9E8E7;
  --color-border: #D5D4D4;
  --color-text: #191919;
  --color-text-muted: #6D6C6C;
  --color-primary: #2200FF;  /* a brand color — but the call-to-action uses #F7F6F5, not this. */
  --color-accent: #317CFF;  /* accent for emphasis — keep it rare on the page. */
  --color-link: #317CFF;  /* inline text links and link-styled controls. */
  --color-secondary: #317CFF;  /* 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. */
  --color-button-bg: #F7F6F5;  /* primary-button fill — the main call-to-action color. */
  --color-button-text: #191919;
  /* fonts: NB International Pro may be proprietary — safe free fallback: Newsreader (Google Fonts). */
  --font-heading: "NB International Pro", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "NB International Pro", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  /* measured weights: 400, 500 — use these, not 400/600 */
  --text-hero: 64px; --font-weight-hero: 400; --leading-hero: 64px; --tracking-hero: -1.92px;
  --text-h2: 40px; --font-weight-h2: 400; --leading-h2: 42px; --tracking-h2: -1.2px;
  --text-h3: 32px; --font-weight-h3: 400; --leading-h3: 38px; --tracking-h3: -0.64px;
  --text-body: 16px; --font-weight-body: 400; --leading-body: 22px;
  --text-small: 15px; --font-weight-small: 400; --leading-small: 20px;
  --text-eyebrow: 12px; --font-weight-eyebrow: 400; --tracking-eyebrow: 0.36px;
  --radius-base: 0px;
  --radius-button: 2px;
  --radius-card: 6px;
  --radius-pill: 9999px;
  --radius-sharp: 2px;
  --shadow-card: rgba(0, 0, 0, 0.06) 0px 0px 3px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 0.5px;
  --shadow-overlay: rgba(0, 0, 0, 0.14) 0px 8px 24px -6px, rgba(0, 0, 0, 0.06) 0px 2px 6px 0px;
  --shadow-subtle: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  --outline-focus: 1px auto rgb(16, 16, 16);  /* measured focus ring */
  --ease-brand: ease;
  --duration-fast: 150ms;  /* use: duration-[var(--duration-fast)] */
  --duration-base: 200ms;
  --duration-slow: 250ms;
  --section-y: 48px;  /* per-section vertical padding (measured) */
  --spacing: 4px;  /* measured base — drives the p-*/gap-* scale. steps seen on the page: 2, 4, 5, 6, 8, 10, 12, 14, 16, 20px */
}

Export: CSS variables

:root {
  /* action color #F7F6F5 — the one interactive color; buttons/links/emphasis only, never large fills. */
  --bg: #F7F6F5;
  --surface: #E9E8E7;
  --border: #D5D4D4;
  --text: #191919;
  --text-muted: #6D6C6C;
  --primary: #2200FF;  /* a brand color — but the call-to-action uses #F7F6F5, not this. */
  --accent: #317CFF;  /* accent for emphasis — keep it rare on the page. */
  --link: #317CFF;  /* inline text links and link-styled controls. */
  --secondary: #317CFF;  /* 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. */
  --button-bg: #F7F6F5;  /* primary-button fill — the main call-to-action color. */
  --button-text: #191919;
  --font-heading: "NB International Pro", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "NB International Pro", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --text-hero: 64px; --weight-hero: 400; --leading-hero: 64px; --tracking-hero: -1.92px;
  --text-h2: 40px; --weight-h2: 400; --leading-h2: 42px; --tracking-h2: -1.2px;
  --text-h3: 32px; --weight-h3: 400; --leading-h3: 38px; --tracking-h3: -0.64px;
  --text-body: 16px; --weight-body: 400; --leading-body: 22px;
  --text-small: 15px; --weight-small: 400; --leading-small: 20px;
  --text-eyebrow: 12px; --weight-eyebrow: 400; --tracking-eyebrow: 0.36px;
  --radius: 0px;
  --radius-button: 2px;
  --radius-card: 6px;
  --radius-pill: 9999px;
  --radius-sharp: 2px;
  --shadow-card: rgba(0, 0, 0, 0.06) 0px 0px 3px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 0.5px;
  --shadow-overlay: rgba(0, 0, 0, 0.14) 0px 8px 24px -6px, rgba(0, 0, 0, 0.06) 0px 2px 6px 0px;
  --shadow-subtle: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  --focus-ring: 1px auto rgb(16, 16, 16);
  --ease: ease;
  --duration-fast: 150ms;
  --duration-base: 200ms;
  --duration-slow: 250ms;
  --section-y: 48px;
}

/* their own tokens, verbatim from the site's :root */
:root {
  --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;
}
/* fonts: NB International Pro may be proprietary — safe free fallback: Newsreader (Google Fonts). */