StackBlitz — decoded design system
StackBlitz'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/stackblitz.com.
Decoded design system
StackBlitz's decoded design system: background #1C1F25, text #000000, accent #1574EF, link #A1A5B0, primary #A1A5B0; type scale h1 94px / h2 72px / body 16px; 4px spacing base; 8px base radius. The single interactive/action color is #1574EF — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #1C1F25 |
| surface | #1A1D22 |
| border | #171A1F |
| text | #000000 |
| text_muted | #0A0B0E |
| primary | #A1A5B0 |
| accent | #1574EF |
| link | #A1A5B0 |
| secondary | #212633 |
| button_bg | #1574EF |
| button_text | #FFFFFF |
Using these colors
- Action color
#1574EF— the single interactive color; only on things you click or must notice, never large fills. primary,linkare all#A1A5B0— one role, not several (the action color).accent,button_bgare all#1574EF— one role, not several (the action color).- accent
#1574EF— 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. - secondary
#212633— 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: Manrope
- Body: Inter
- Mono: PT Mono
- h1: 94px
- h2: 72px
- body: 16px
Spacing
- base unit: 4px
- scale: 8px, 16px, 18px, 20px, 24px, 26px, 28px, 32px, 36px, 52px
Radii
- base: 8px
- button: 10px
Shadow
rgba(255, 255, 255, 0.14) 0px 0px 0px 1px inset
Shadows (elevation)
- subtle:
rgba(255, 255, 255, 0.1) 0px 0px 0px 1px - card:
rgba(255, 255, 255, 0.1) 0px 1px 0px 0px
Motion
Micro-interactions run at 100ms (dominant) with ease.
- durations: 100ms · 1200ms · 160ms
- easings:
ease - animated properties: color, background-color, opacity, height
Native design tokens
| Token | Value |
|---|---|
--sb-foreground-alt | hsl(0 0% 62%) |
--sb-foreground-active | hsl(0 0% 94%) |
--public-blue-text-10 | #69f5ff |
--public-blue-text-20 | #4cedff |
--public-blue-text-50 | #00A8DB |
--public-blue-text-60 | #00aeda |
--public-blue-text-neutral | #1b82bc |
--public-blue-text-bright-light | #96f8ff |
--public-blue-text-bright-dark | #00a3cc |
--public-blue-text-secondary | #69b6dd |
…and 110 more measured on the page.
Button states (measured)
- primary hover: box-shadow
rgba(255, 255, 255, 0.24) 0px 0px 0px 1px inset· background#0F8FFF
Layout (measured)
- nav: 72px sticky
- common grid: 2 columns
Motion choreography (measured)
Load order: div._mockEditor__file_explor → div._mockEditor__codeTermina → div._mockEditor__codeConsole
Scroll reveal: 5 elements rest at translateY(2px), animate in over 0.8s ease.
Responsive (measured)
- breakpoints: 500px · 640px · 860px · 1024px · 1280px
- mobile (390px): hero 34px · nav hamburger
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/stackblitz.com
registry item · or query it over MCP: get_design_system("StackBlitz")
Export: DESIGN.md
# StackBlitz — Design System > dark, modern, high, custom — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#1C1F25` | | surface | `#1A1D22` | | border | `#171A1F` | | text | `#000000` | | text_muted | `#0A0B0E` | | primary | `#A1A5B0` | | accent | `#1574EF` | | link | `#A1A5B0` | | secondary | `#212633` | | button_bg | `#1574EF` | | button_text | `#FFFFFF` | **Using these colors** - **Action color** `#1574EF` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `primary`, `link` are all `#A1A5B0` — one role, not several. - `accent`, `button_bg` are all `#1574EF` — one role, not several (your action color). - **accent** `#1574EF` — 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. - **secondary** `#212633` — 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): `#1C1F25` 92.9% · `#505B68` 7.1% ## Typography - Heading: **Manrope** - Body: **Inter** - Mono: **PT Mono** _(measured)_ | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 94px / 600 · lh 94px · tracking -2px | | h2 | 72px / 800 · lh 76px · tracking -3px | | h3 | 40px / 400 · lh 48px · tracking -0.5px | | body | 16px / 600 · lh 32px | | small | 15px / 700 · lh 18px | - Weight ladder: 400 · 500 · 600 · 700 · 800 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** Manrope — free, on Google. Inter — free, on Google. ## Spacing - base unit: 4px (inferred from the measured scale) - measured scale: 8px, 16px, 18px, 20px, 24px, 26px, 28px, 32px, 36px, 52px — snap all gaps/padding to these - section rhythm: 120px top/bottom padding per section (measured) ## Radius - base: 8px - button: 10px - card: 6px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `#1574EF` / `#FFFFFF` | none | 10px | 0px 32px 0px 32px | 500 16px | rgba(255, 255, 255, 0.14) 0px 0px 0px 1px inset | | secondary | `rgba(49, 61, 94, 0.24)` / `rgba(255, 255, 255, 0.8)` | none | 8px | 0px 20px 0px 20px | 500 13px | rgba(255, 255, 255, 0.08) 0px 0px 0px 1px inset | **States (measured, not guessed)** - primary hover: box-shadow `rgba(255, 255, 255, 0.24) 0px 0px 0px 1px inset` · background `#0F8FFF` - secondary hover: box-shadow `rgba(255, 255, 255, 0.14) 0px 0px 0px 1px inset` · background `rgba(49, 61, 94, 0.54)` · color `#FFFFFF` - transition: `background-color 0.1s ease` ## Shadows (elevation) - subtle: `rgba(255, 255, 255, 0.1) 0px 0px 0px 1px` - card: `rgba(255, 255, 255, 0.1) 0px 1px 0px 0px` - button: `rgba(255, 255, 255, 0.14) 0px 0px 0px 1px inset` ## Motion - durations: 100ms (dominant) · 1200ms · 160ms - easings: `ease` (dominant) - animated properties: color, background-color, opacity, height 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 | |-------|-------| | `--sb-foreground-alt` | `hsl(0 0% 62%)` | | `--sb-foreground-active` | `hsl(0 0% 94%)` | | `--public-blue-text-10` | `#69f5ff` | | `--public-blue-text-20` | `#4cedff` | | `--public-blue-text-50` | `#00A8DB` | | `--public-blue-text-60` | `#00aeda` | | `--public-blue-text-neutral` | `#1b82bc` | | `--public-blue-text-bright-light` | `#96f8ff` | | `--public-blue-text-bright-dark` | `#00a3cc` | | `--public-blue-text-secondary` | `#69b6dd` | | `--public-blue-bg-lighter` | `#fbfeff` | | `--public-blue-bg-light` | `#f1f4f8` | _…and 108 more measured on the page._ Prefer these names when extending their system — it's the brand's actual vocabulary. ## Layout (measured) - common grid: 2-col - nav: 72px sticky | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | 1852 | 1367 | 2 | 100 | 120/120 | — | | 1972 | 277 | — | — | 0/0 | — | | 2249 | 268 | 2 | 100 | 72/0 | — | | 2517 | 582 | 2 | 100 | 72/0 | — | | 3219 | 554 | — | — | 180/180 | — | ## Motion choreography (measured) Load order: `div._mockEditor__file_explor` @0ms → `div._mockEditor__codeTermina` @0ms → `div._mockEditor__codeConsole` @0ms - scroll reveal: 5 elements rest at translateY(2px), animate in over 0.8s ease (5 revealed during the drive). Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Responsive (measured) - breakpoints: 500px · 640px · 860px · 1024px · 1280px - mobile (390px): hero 34px · 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.
An automated reading of StackBlitz's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with stackblitz.com. No screenshots stored. Removal requests: hello@mozaika.design.