Excalidraw — decoded design system
Excalidraw'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.
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/excalidraw.com.
Decoded design system
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
| 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; only on things you click or must notice, never large fills. primary,button_bgare all#6965DB— one role, not several (the action color).accent,linkare all#FA5252— one role, not several (the action color).- 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.
Typography
- Heading: Assistant
- Body: Arial
- h1: 32px
- h2: 24px
- body: 16px
Spacing
- base unit: 4px
- scale: 2px, 3px, 4px, 8px, 10px, 12px, 14px, 16px, 24px, 32px
Radii
- base: 8px
- button: 8px
Shadow
rgb(255, 255, 255) 0px 0px 0px 1px
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
Motion
Micro-interactions run at 500ms (dominant) with ease-in-out.
- durations: 500ms
- easings:
ease-in-out - animated properties: transform
Native design tokens
| Token | Value |
|---|---|
--sab | 0px |
--sal | 0px |
--sar | 0px |
--sat | 0px |
Button states (measured)
- primary hover: border
1px solid rgb(91, 87, 209)· background#5B57D1 - primary focus: box-shadow
rgb(87, 83, 208) 0px 0px 0px 1px
Layout (measured)
- container max-width:
690px
Responsive (measured)
- breakpoints: 861px · 1024px
- mobile (390px): hero 32px · nav inline
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/excalidraw.com
registry item · or query it over MCP: get_design_system("Excalidraw")
Export: DESIGN.md
# Excalidraw — Design System > light, modern, medium, custom — deep decode (measured live) ## 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.
An automated reading of Excalidraw's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with excalidraw.com. No screenshots stored. Removal requests: hello@mozaika.design.