MozaikaDesign system

Excalidraw — Design System

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

Excalidraw's brand is a handwriting: Virgil, the hand-drawn face of every sketch it exports, with Assistant at UI sizes running the chrome. The site is the whiteboard itself — wobbly rectangles, marker arrows, collaborative cursors — proof that a design tool can brand itself entirely through the artifacts its users make.

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/excalidraw.

Tokens

Excalidraw's decoded design system: background #FFFFFF, text #000000, accent #FA5252, link #FA5252, primary #6965DB; type scale h1 32px / h2 24px / body 16px; 4px spacing base; 8px base radius. The single interactive/action color is #6965DB — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#FFFFFF
surface#EFEFEF
border#D8D8D8
text#000000
text_muted#606060
primary#6965DB
accent#FA5252
link#FA5252
secondary#228BE6
button_bg#6965DB
button_text#FFFFFF

Using these colors

Typography

Spacing

Radii

Shadow

rgb(255, 255, 255) 0px 0px 0px 1px

Shadows (elevation)

Motion

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

Native design tokens

TokenValue
--sab0px
--sal0px
--sar0px
--sat0px

Button states (measured)

Layout (measured)

Responsive (measured)

Per-section tokens (4)

Export: DESIGN.md

# Excalidraw — Design System

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

Excalidraw's brand is a handwriting: Virgil, the hand-drawn face of every sketch it exports, with Assistant at UI sizes running the chrome. The site is the whiteboard itself — wobbly rectangles, marker arrows, collaborative cursors — proof that a design tool can brand itself entirely through the artifacts its users make.

## Colors

| Role | Value |
|------|-------|
| bg | `#FFFFFF` |
| surface | `#EFEFEF` |
| border | `#D8D8D8` |
| text | `#000000` |
| text_muted | `#606060` |
| primary | `#6965DB` |
| accent | `#FA5252` |
| link | `#FA5252` |
| secondary | `#228BE6` |
| button_bg | `#6965DB` |
| button_text | `#FFFFFF` |

**Using these colors**

- **Action color** `#6965DB` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds.
- `primary`, `button_bg` are all `#6965DB` — one role, not several (your action color).
- `accent`, `link` are all `#FA5252` — one role, not several.
- **accent** `#FA5252` — accent for emphasis — keep it rare on the page.
- **secondary** `#228BE6` — 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` 96.3% · `#ECECF3` 2.2% · `#DADADE` 0.9% · `#7C74B5` 0.5%

## Typography

- Heading: **Assistant** _(free fallback: Newsreader)_
- Body: **Arial**
- h1: 32px
- h2: 24px
- body: 16px

> **Fonts —** Assistant may be proprietary — safe free fallback: Newsreader (Google Fonts). Arial — system font, no web load needed.

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

## Radius
- base: 8px
- button: 8px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `#6965DB` / `#FFFFFF` | 1px solid rgb(105, 101, 219) | 8px | 10px 10px 10px 10px | 400 13.3328px | rgb(255, 255, 255) 0px 0px 0px 1px |
| secondary | `rgba(0, 0, 0, 0)` / `#999999` | 1px solid rgba(0, 0, 0, 0) | 6px | 12px 12px 12px 12px | 500 14px | none |

**States (measured, not guessed)**

- primary hover: border `1px solid rgb(91, 87, 209)` · background `#5B57D1`
- primary focus: box-shadow `rgb(87, 83, 208) 0px 0px 0px 1px`
- secondary hover: background `#F1F0FF`

## Shadows (elevation)
- subtle: `rgb(255, 255, 255) 0px 0px 0px 1px`
- card: `rgba(0, 0, 0, 0.17) 0px 0px 1px 0px, rgba(0, 0, 0, 0.08) 0px 0px 3px 0px, rgba(0, 0, 0, 0.05) 0px 7px 14px 0px`
- button: `rgb(255, 255, 255) 0px 0px 0px 1px`

## Motion
- durations: 500ms (dominant)
- easings: `ease-in-out` (dominant)
- animated properties: transform

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 |
|-------|-------|
| `--sab` | `0px` |
| `--sal` | `0px` |
| `--sar` | `0px` |
| `--sat` | `0px` |

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

## Layout (measured)
- container max 690px
- nav: 0px

## Components (measured)
- disabled: bg #ECECF4 · text rgba(16, 16, 16, 0.3)

## Responsive (measured)
- breakpoints: 861px · 1024px
- mobile (390px): hero 32px · body 16px · 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.

---

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

Export: Tailwind v4 (@theme)

@theme {
  /* action color #6965DB — the one interactive color; buttons/links/emphasis only, never large fills. */
  --color-bg: #FFFFFF;
  --color-surface: #EFEFEF;
  --color-border: #D8D8D8;
  --color-text: #000000;
  --color-text-muted: #606060;
  --color-primary: #6965DB;  /* primary brand / action color. */
  --color-accent: #FA5252;  /* accent for emphasis — keep it rare on the page. */
  --color-link: #FA5252;  /* inline text links and link-styled controls. */
  --color-secondary: #228BE6;  /* 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: #6965DB;  /* primary-button fill — the main call-to-action color. */
  --color-button-text: #FFFFFF;
  /* fonts: Assistant may be proprietary — safe free fallback: Newsreader (Google Fonts). Arial — system font, no web load needed. */
  --font-heading: "Assistant", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "Arial", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text-h1: 32px;
  --text-h2: 24px;
  --text-body: 16px;
  --radius-base: 8px;
  --radius-button: 8px;
  --shadow-card: rgba(0, 0, 0, 0.17) 0px 0px 1px 0px, rgba(0, 0, 0, 0.08) 0px 0px 3px 0px, rgba(0, 0, 0, 0.05) 0px 7px 14px 0px;
  --shadow-subtle: rgb(255, 255, 255) 0px 0px 0px 1px;
  --color-btn-hover: #5B57D1;  /* measured primary hover fill */
  --shadow-focus: rgb(87, 83, 208) 0px 0px 0px 1px;  /* measured focus ring */
  --ease-brand: ease-in-out;
  --duration-fast: 500ms;  /* use: duration-[var(--duration-fast)] */
  --spacing: 4px;  /* measured base — drives the p-*/gap-* scale. steps seen on the page: 2, 3, 4, 8, 10, 12, 14, 16, 24, 32px */
}

Export: CSS variables

:root {
  /* action color #6965DB — the one interactive color; buttons/links/emphasis only, never large fills. */
  --bg: #FFFFFF;
  --surface: #EFEFEF;
  --border: #D8D8D8;
  --text: #000000;
  --text-muted: #606060;
  --primary: #6965DB;  /* primary brand / action color. */
  --accent: #FA5252;  /* accent for emphasis — keep it rare on the page. */
  --link: #FA5252;  /* inline text links and link-styled controls. */
  --secondary: #228BE6;  /* 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: #6965DB;  /* primary-button fill — the main call-to-action color. */
  --button-text: #FFFFFF;
  --font-heading: "Assistant", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "Arial", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 8px;
  --radius-button: 8px;
  --shadow-card: rgba(0, 0, 0, 0.17) 0px 0px 1px 0px, rgba(0, 0, 0, 0.08) 0px 0px 3px 0px, rgba(0, 0, 0, 0.05) 0px 7px 14px 0px;
  --shadow-subtle: rgb(255, 255, 255) 0px 0px 0px 1px;
  --btn-bg-hover: #5B57D1;
  --focus-ring: rgb(87, 83, 208) 0px 0px 0px 1px;
  --ease: ease-in-out;
  --duration-fast: 500ms;
}

/* their own tokens, verbatim from the site's :root */
:root {
  --sab: 0px;
  --sal: 0px;
  --sar: 0px;
  --sat: 0px;
}
/* fonts: Assistant may be proprietary — safe free fallback: Newsreader (Google Fonts). Arial — system font, no web load needed. */