MozaikaDesign system

tldraw — Design System

light · modern · medium · custom · confidence 92%

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

Tokens

tldraw's decoded design system: background #F9FAFB, text #2E2E2E, accent #E085F4, link #E085F4, primary #9FA8B2; type scale h1 24px / h2 24px / body 12px; 4px spacing base; 4px base radius. The single interactive/action color is #EDF0F2 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#F9FAFB
surface#ECEDEE
border#DADBDC
text#2E2E2E
text_muted#7B7B7B
primary#9FA8B2
accent#E085F4
link#E085F4
secondary#AE3EC9
button_bg#EDF0F2
button_text#2E2E2E

Using these colors

Typography

Spacing

Radii

Export: DESIGN.md

# tldraw — Design System

> light, modern, medium, custom

## Colors

| Role | Value |
|------|-------|
| bg | `#F9FAFB` |
| surface | `#ECEDEE` |
| border | `#DADBDC` |
| text | `#2E2E2E` |
| text_muted | `#7B7B7B` |
| primary | `#9FA8B2` |
| accent | `#E085F4` |
| link | `#E085F4` |
| secondary | `#AE3EC9` |
| button_bg | `#EDF0F2` |
| button_text | `#2E2E2E` |

**Using these colors**

- **Action color** `#EDF0F2` — 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` are all `#E085F4` — one role, not several.
- **accent** `#E085F4` — accent for emphasis — keep it rare on the page.
- **primary** `#9FA8B2` — a neutral UI color (chips, tags, icon fills, chrome), not the action color (action = #EDF0F2).
- **secondary** `#AE3EC9` — 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.

## Typography

- Heading: **Inter**
- Body: **Inter**
- h1: 24px
- h2: 24px
- body: 12px

> **Fonts —** Inter — free, on Google.

## Spacing
- base unit: 4px
- scale: 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px

## Radius
- base: 4px
- button: 9px

## Primary button
- bg `#EDF0F2` · text `#2E2E2E` · radius 9px

## 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.

Export: Tailwind v4 (@theme)

@theme {
  /* action color #EDF0F2 — the one interactive color; buttons/links/emphasis only, never large fills. */
  --color-bg: #F9FAFB;
  --color-surface: #ECEDEE;
  --color-border: #DADBDC;
  --color-text: #2E2E2E;
  --color-text-muted: #7B7B7B;
  --color-primary: #9FA8B2;  /* a neutral UI color (chips, tags, icon fills, chrome), not the action color (action = #EDF0F2). */
  --color-accent: #E085F4;  /* accent for emphasis — keep it rare on the page. */
  --color-link: #E085F4;  /* fails contrast on the background (~2.3:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). */
  --color-secondary: #AE3EC9;  /* 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: #EDF0F2;  /* primary-button fill — the main call-to-action color. */
  --color-button-text: #2E2E2E;
  /* fonts: Inter — free, on Google. */
  --font-heading: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text-h1: 24px;
  --text-h2: 24px;
  --text-body: 12px;
  --radius-base: 4px;
  --radius-button: 9px;
  --spacing-1: 2px;
  --spacing-2: 4px;
  --spacing-3: 6px;
  --spacing-4: 8px;
  --spacing-5: 12px;
  --spacing-6: 16px;
  --spacing-7: 24px;
  --spacing-8: 32px;
}

Export: CSS variables

:root {
  /* action color #EDF0F2 — the one interactive color; buttons/links/emphasis only, never large fills. */
  --bg: #F9FAFB;
  --surface: #ECEDEE;
  --border: #DADBDC;
  --text: #2E2E2E;
  --text-muted: #7B7B7B;
  --primary: #9FA8B2;  /* a neutral UI color (chips, tags, icon fills, chrome), not the action color (action = #EDF0F2). */
  --accent: #E085F4;  /* accent for emphasis — keep it rare on the page. */
  --link: #E085F4;  /* fails contrast on the background (~2.3:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). */
  --secondary: #AE3EC9;  /* 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: #EDF0F2;  /* primary-button fill — the main call-to-action color. */
  --button-text: #2E2E2E;
  --font-heading: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 4px;
  --radius-button: 9px;
}
/* fonts: Inter — free, on Google. */