MozaikaDesign system

WorkOS — Design System

light · professional · medium · custom · confidence 92% · deep decode

The full decoded design system for WorkOS: 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/workos.

Tokens

WorkOS's decoded design system: background #FFFFFF, text #29363D, accent #6363F1, link #6363F1, primary #29363D; type scale h1 80px / h2 28px / body 19px; 4px spacing base; 5px base radius. The single interactive/action color is #6363F1 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#FFFFFF
surface#F2F2F3
border#DEE0E1
text#29363D
text_muted#7A8286
primary#29363D
accent#6363F1
link#6363F1
secondary#23F0C3
button_bg#6363F1
button_text#FFFFFF

Using these colors

Typography

Spacing

Radii

Shadow

rgba(23, 6, 100, 0.035) 0px 24px 22px 0px, rgba(23, 6, 100, 0.055) 0px 8.5846px 8.03036px 0px, rgba(23, 6, 100, 0.067) 0px 4.77692px 3.89859px 0px, rgba(23, 6, 100, 0.082) 0px 2.63479px 1.91116px 0px, rgba(23, 6, 100, 0.12) 0px 1.15891px 0.755676px 0px

Shadows (elevation)

Motion

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

Native design tokens

TokenValue
--black#29363d
--foreground-light-2#656b8a
--foreground-dark-2#c5cae8
--brand-purple#6363f1
--black-dark#030628
--foreground-light-3#8f96bd
--section-light#f9f9fb
--cool-gray#eceff1
--foreground-dark-3#878ca6
--border-color#e8eaed

…and 17 more measured on the page.

Button states (measured)

Layout (measured)

Motion choreography (measured)

Load order: div.code-tabs-active-linediv.cs-cards-containerdiv.cs-cards-slide×54 → div.cs-card-content×2 → div.cs-nav-container

Scroll reveal: 10 elements rest at opacity 0, translateY(-20px), animate in over 1400ms.

Overlay recipe (measured)

dialog panel: #FFFFFF · radius 10px

Responsive (measured)

Per-section tokens (9)

Export: DESIGN.md

# WorkOS — Design System

> light, professional, medium, custom — deep decode (measured live)

## Colors

| Role | Value |
|------|-------|
| bg | `#FFFFFF` |
| surface | `#F2F2F3` |
| border | `#DEE0E1` |
| text | `#29363D` |
| text_muted | `#7A8286` |
| primary | `#29363D` |
| accent | `#6363F1` |
| link | `#6363F1` |
| secondary | `#23F0C3` |
| button_bg | `#6363F1` |
| button_text | `#FFFFFF` |

**Using these colors**

- **Action color** `#6363F1` — 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`, `button_bg` are all `#6363F1` — one role, not several (your action color).
- **accent** `#6363F1` — 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** `#29363D` — ≈ the text color — a foreground/text color, not an action color (action = #6363F1).
- **secondary** `#23F0C3` — 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): `#FFFFFF` 88.6% · `#EEEFF6` 6.4% · `#A4ABD4` 4.9%

## Typography

- Heading: **Untitled Sans** _(free fallback: Newsreader)_
- Body: **Untitled Sans** _(free fallback: Newsreader)_
- Mono: **IBM Plex Mono** _(measured)_

| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| hero | 80px / 500 · lh 84px · tracking -5.6px |
| h2 | 52px / 500 · lh 56px · tracking -2.6px |
| h3 | 38px / 500 · lh 38px · tracking -1.52px |
| body | 14px / 400 · lh 17px |
| small | 12px / 400 · lh 18px |
| eyebrow | 12px / 500 · tracking 1.2px |

- Weight ladder: 400 · 500 — use these exact measured weights, not the 400/600 defaults.

> **Fonts —** Untitled Sans may be proprietary — safe free fallback: Newsreader (Google Fonts).

## Spacing
- base unit: 4px (inferred from the measured scale)
- measured scale: 2px, 8px, 12px, 14px, 16px, 18px, 20px, 22px, 24px, 26px — snap all gaps/padding to these
- section rhythm: 120px top/bottom padding per section (measured)

## Radius
- base: 5px
- button: 100px
- card: 100px
- sharp: 2px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `#6363F1` / `#FFFFFF` | none | 100px | 12px 24px 12px 24px | 500 16px | rgba(23, 6, 100, 0.035) 0px 24px 22px 0px, rgba(23, 6, 100, 0.055) 0px 8.5846px 8.03036px 0px, rgba(23, 6, 100, 0.067) 0px 4.77692px 3.89859px 0px, rgba(23, 6, 100, 0.082) 0px 2.63479px 1.91116px 0px, rgba(23, 6, 100, 0.12) 0px 1.15891px 0.755676px 0px |
| secondary | `rgba(0, 0, 0, 0)` / `#29363D` | none | 100px | 8px 24px 8px 24px | 400 16px | none |

**States (measured, not guessed)**

- primary hover: background `#7777F3`
- primary focus: outline `2px solid rgba(99, 99, 241, 0.3)`
- transition: `background-color 0.2s ease`

## Shadows (elevation)
- subtle: `rgba(0, 0, 0, 0.04) 0px 0px 0px 1px, rgba(0, 0, 0, 0.17) 0px 5px 10px -4px`
- card: `rgba(0, 0, 0, 0.08) 0px 8px 24px 0px`
- button: `rgba(23, 6, 100, 0.035) 0px 24px 22px 0px, rgba(23, 6, 100, 0.055) 0px 8.5846px 8.03036px 0px, rgba(23, 6, 100, 0.067) 0px 4.77692px 3.89859px 0px, rgba(23, 6, 100, 0.082) 0px 2.63479px 1.91116px 0px, rgba(23, 6, 100, 0.12) 0px 1.15891px 0.755676px 0px`

## Motion
- durations: 200ms (dominant) · 150ms
- easings: `ease` (dominant)
- animated properties: border-color, color, left, background-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 |
|-------|-------|
| `--black` | `#29363d` |
| `--foreground-light-2` | `#656b8a` |
| `--foreground-dark-2` | `#c5cae8` |
| `--brand-purple` | `#6363f1` |
| `--black-dark` | `#030628` |
| `--foreground-light-3` | `#8f96bd` |
| `--section-light` | `#f9f9fb` |
| `--cool-gray` | `#eceff1` |
| `--foreground-dark-3` | `#878ca6` |
| `--border-color` | `#e8eaed` |
| `--border-dark` | `#2b335a` |
| `--dark-accent` | `#23f0c3` |

_…and 15 more measured on the page._

Prefer these names when extending their system — it's the brand's actual vocabulary.

## Layout (measured)
- container max 1200px
- nav: 83px relative

| Section (y) | Height | Cols | Gap | Pad y | Split |
|---|---|---|---|---|---|
| 1118 | 1069 | — | — | 120/120 | — |
| 2187 | 1721 | — | — | 120/0 | — |
| 3908 | 967 | — | — | 120/120 | — |

## Motion choreography (measured)
Load order: `div.code-tabs-active-line` @0ms → `div.cs-cards-container` @4072ms → `div.cs-cards-slide`×54 @4072ms → `div.cs-card-content`×2 @4072ms → `div.cs-nav-container` @4072ms
- `div.cs-cards-slide` ×24 — transform translateX(-22386%) scale(-6)→translateX(-21188.8%) scale(-5.8) — 400ms ease
- scroll reveal: 10 elements rest at opacity 0, translateY(-20px), animate in over 1400ms (5 revealed during the drive).
- overlay dialog (auto-opened): panel #FFFFFF · r 10px · border 1px solid rgba(0, 9, 50, 0.12) · shadow rgba(0, 0, 0, 0.08) 0px 8px 24px 0px

Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography.

## Components (measured)
- link: rgba(6, 0, 171, 0.675) · no underline

## Responsive (measured)
- breakpoints: 479px · 768px · 991px
- mobile (390px): hero 42px · 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/workos

Export: Tailwind v4 (@theme)

@theme {
  /* action color #6363F1 — the one interactive color; buttons/links/emphasis only, never large fills. */
  --color-bg: #FFFFFF;
  --color-surface: #F2F2F3;
  --color-border: #DEE0E1;
  --color-text: #29363D;
  --color-text-muted: #7A8286;
  --color-primary: #29363D;  /* ≈ the text color — a foreground/text color, not an action color (action = #6363F1). */
  --color-accent: #6363F1;  /* 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. */
  --color-link: #6363F1;  /* inline text links — shares the action color. */
  --color-secondary: #23F0C3;  /* 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: #6363F1;  /* primary-button fill — the main call-to-action color. */
  --color-button-text: #FFFFFF;
  /* fonts: Untitled Sans may be proprietary — safe free fallback: Newsreader (Google Fonts). */
  --font-heading: "Untitled Sans", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "Untitled Sans", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  /* measured weights: 400, 500 — use these, not 400/600 */
  --text-hero: 80px; --font-weight-hero: 500; --leading-hero: 84px; --tracking-hero: -5.6px;
  --text-h2: 52px; --font-weight-h2: 500; --leading-h2: 56px; --tracking-h2: -2.6px;
  --text-h3: 38px; --font-weight-h3: 500; --leading-h3: 38px; --tracking-h3: -1.52px;
  --text-body: 14px; --font-weight-body: 400; --leading-body: 17px;
  --text-small: 12px; --font-weight-small: 400; --leading-small: 18px;
  --text-eyebrow: 12px; --font-weight-eyebrow: 500; --tracking-eyebrow: 1.2px;
  --radius-base: 5px;
  --radius-button: 100px;
  --radius-card: 100px;
  --radius-sharp: 2px;
  --shadow-card: rgba(0, 0, 0, 0.08) 0px 8px 24px 0px;
  --shadow-subtle: rgba(0, 0, 0, 0.04) 0px 0px 0px 1px, rgba(0, 0, 0, 0.17) 0px 5px 10px -4px;
  --color-btn-hover: #7777F3;  /* measured primary hover fill */
  --outline-focus: 2px solid rgba(99, 99, 241, 0.3);  /* measured focus ring */
  --ease-brand: ease;
  --duration-fast: 150ms;  /* use: duration-[var(--duration-fast)] */
  --duration-base: 200ms;
  --section-y: 120px;  /* per-section vertical padding (measured) */
  --spacing: 4px;  /* measured base — drives the p-*/gap-* scale. steps seen on the page: 2, 8, 12, 14, 16, 18, 20, 22, 24, 26px */
}

Export: CSS variables

:root {
  /* action color #6363F1 — the one interactive color; buttons/links/emphasis only, never large fills. */
  --bg: #FFFFFF;
  --surface: #F2F2F3;
  --border: #DEE0E1;
  --text: #29363D;
  --text-muted: #7A8286;
  --primary: #29363D;  /* ≈ the text color — a foreground/text color, not an action color (action = #6363F1). */
  --accent: #6363F1;  /* 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. */
  --link: #6363F1;  /* inline text links — shares the action color. */
  --secondary: #23F0C3;  /* 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: #6363F1;  /* primary-button fill — the main call-to-action color. */
  --button-text: #FFFFFF;
  --font-heading: "Untitled Sans", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "Untitled Sans", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --text-hero: 80px; --weight-hero: 500; --leading-hero: 84px; --tracking-hero: -5.6px;
  --text-h2: 52px; --weight-h2: 500; --leading-h2: 56px; --tracking-h2: -2.6px;
  --text-h3: 38px; --weight-h3: 500; --leading-h3: 38px; --tracking-h3: -1.52px;
  --text-body: 14px; --weight-body: 400; --leading-body: 17px;
  --text-small: 12px; --weight-small: 400; --leading-small: 18px;
  --text-eyebrow: 12px; --weight-eyebrow: 500; --tracking-eyebrow: 1.2px;
  --radius: 5px;
  --radius-button: 100px;
  --radius-card: 100px;
  --radius-sharp: 2px;
  --shadow-card: rgba(0, 0, 0, 0.08) 0px 8px 24px 0px;
  --shadow-subtle: rgba(0, 0, 0, 0.04) 0px 0px 0px 1px, rgba(0, 0, 0, 0.17) 0px 5px 10px -4px;
  --btn-bg-hover: #7777F3;
  --focus-ring: 2px solid rgba(99, 99, 241, 0.3);
  --ease: ease;
  --duration-fast: 150ms;
  --duration-base: 200ms;
  --section-y: 120px;
}

/* their own tokens, verbatim from the site's :root */
:root {
  --black: #29363d;
  --foreground-light-2: #656b8a;
  --foreground-dark-2: #c5cae8;
  --brand-purple: #6363f1;
  --black-dark: #030628;
  --foreground-light-3: #8f96bd;
  --section-light: #f9f9fb;
  --cool-gray: #eceff1;
  --foreground-dark-3: #878ca6;
  --border-color: #e8eaed;
  --border-dark: #2b335a;
  --dark-accent: #23f0c3;
}
/* fonts: Untitled Sans may be proprietary — safe free fallback: Newsreader (Google Fonts). */