MozaikaLive decode

tldraw — decoded design system

tldraw.com · light · modern · custom · deep decode — measured live

tldraw'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.

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/decode/tldraw.com.

Decoded design system

tldraw's decoded design system: background #F9FAFB, text #000000, 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 #1C1C1C — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#F9FAFB
surface#EAEBEB
border#D3D4D5
text#000000
text_muted#5E5F5F
primary#9FA8B2
accent#E085F4
link#E085F4
secondary#AE3EC9
button_bg#1C1C1C
button_text#FCFCFC

Using these colors

Typography

Spacing

Radii

Motion

Micro-interactions run at 3000ms (dominant) with ease-in-out.

Layout (measured)

Motion choreography (measured)

Load order: div._cookieAcceptButtonText_div._cookieConsent_85tjp_45

Overlay recipe (measured)

dialog panel: #FCFCFC · radius 9px

Themes

dark counterpart: background #101011, text #F9FAFB.

Responsive (measured)

Install it

Drop this measured system into any shadcn/Tailwind project in one command:

npx shadcn add mozaika.design/r/decode/tldraw.com

registry item · or query it over MCP: get_design_system("tldraw")

Export: DESIGN.md

# tldraw — Design System

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

## Colors

| Role | Value |
|------|-------|
| bg | `#F9FAFB` |
| surface | `#EAEBEB` |
| border | `#D3D4D5` |
| text | `#000000` |
| text_muted | `#5E5F5F` |
| primary | `#9FA8B2` |
| accent | `#E085F4` |
| link | `#E085F4` |
| secondary | `#AE3EC9` |
| button_bg | `#1C1C1C` |
| button_text | `#FCFCFC` |

**Using these colors**

- **Action color** `#1C1C1C` — 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 = #1C1C1C).
- **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.
- **Page coverage** (full-page screenshot pixels): `#F9FAFB` 98.5% · `#A1AEC2` 1.5%

## Typography

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

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

## Spacing
- base unit: 4px (inferred from the measured scale)
- measured scale: 2px, 4px, 6px, 8px, 10px, 12px, 16px, 64px — snap all gaps/padding to these

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

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `#1C1C1C` / `#FCFCFC` | none | 4px | 4px 8px 4px 8px | 500 12px | none |

## Motion
- durations: 3000ms (dominant) · 200ms
- easings: `ease-in-out` (dominant) · `ease-out`
- animated properties: transform, opacity

Micro-interactions use the dominant duration + easing; nothing on the page animates slower than the longest duration above — don't invent springier motion.

## Layout (measured)
- nav: 900px

## Motion choreography (measured)
Load order: `div._cookieAcceptButtonText_` @0ms → `div._cookieConsent_85tjp_45` @2000ms
- `div._cookieConsent_85tjp_45` — transform translateY(110%)→translate(0px) — 3000ms ease-out (delay 2000ms)
- `div._cookieAcceptButtonText_` — transform translate(100%)→translate(-100%) — 3000ms · loops
- overlay dialog (auto-opened): panel #FCFCFC · r 9px · shadow rgba(0, 0, 0, 0.28) 0px 1px 2px 0px, rgba(0, 0, 0, 0.14) 0px 2px 6px 0px, rgb(255, 255, 255) 0px 0px 0px 1px inset

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

## Components (measured)
- disabled: bg rgba(0, 0, 0, 0) · text #888D91

## Themes (both measured)
- dark counterpart: bg `#101011` · text `#F9FAFB`

## Responsive (measured)
- mobile (390px): hero 24px · body 12px · 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.

← All decoded design systems

Mozaika is an MCP-native design-reference library for AI coding agents: real products decoded into measured design systems, full-page screens, sliced sections with per-section specs, and ordered user flows. Connect your agent over MCP.

An automated reading of tldraw's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with tldraw.com. No screenshots stored. Removal requests: hello@mozaika.design.