Turborepo — decoded design system
Turborepo'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/turbo.build.
Decoded design system
Turborepo's decoded design system: background #FFFFFF, text #0A0A0A, accent #006BFF, link #006BFF, primary #006BFF; type scale h1 72px / h2 40px / body 16px; 8px spacing base; 0px base radius. The single interactive/action color is #006BFF — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #FFFFFF |
| surface | #F0F0F0 |
| border | #DADADA |
| text | #0A0A0A |
| text_muted | #676767 |
| primary | #006BFF |
| accent | #006BFF |
| link | #006BFF |
| button_bg | lab(2.75381 0 0) |
| button_text | lab(100 0 0) |
Using these colors
- Action color
#006BFF— the single interactive color; only on things you click or must notice, never large fills. primary,accent,linkare all#006BFF— one role, not several (the action color).- accent
#006BFF— 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.
Typography
- Heading: SFMono-Regular
- Body: SFMono-Regular
- Mono: SFMono-Regular
- h1: 72px
- h2: 40px
- body: 16px
Spacing
- base unit: 8px
- scale: 4px, 6px, 8px, 10px, 12px, 14px, 16px, 20px, 24px, 32px
Radii
- base: 0px
- button: 8px
Motion
Micro-interactions run at 150ms (dominant) with cubic-bezier(0.4, 0, 0.2, 1).
- durations: 150ms · 100ms
- easings:
cubic-bezier(0.4, 0, 0.2, 1) - animated properties: color, background-color, border-color, outline-color
Native design tokens
| Token | Value |
|---|---|
--color-fd-background | lab(100% 0 0) |
--color-fd-foreground | lab(2.75381% 0 0) |
--color-fd-muted | lab(96.52% -.0000298023 .0000119209) |
--color-fd-muted-foreground | lab(48.496% 0 0) |
--color-fd-popover | lab(100% 0 0) |
--color-fd-popover-foreground | lab(2.75381% 0 0) |
--color-fd-card | lab(100% 0 0) |
--color-fd-card-foreground | lab(2.75381% 0 0) |
--color-fd-border | lab(90.952% 0 -.0000119209) |
--color-fd-primary | lab(47.9229% 22.3147 -86.8328) |
…and 110 more measured on the page.
Button states (measured)
- primary hover: background
oklab(0.145 -0.00000143796 0.00000340492 / 0.9)
Layout (measured)
- nav: 65px sticky
Motion choreography (measured)
Load order: svg.lucide
Overlay recipe (measured)
dialog panel: rgba(0, 0, 0, 0.2) · radius 0px · enter 300ms linear
Input (measured)
height 64px · radius 0px · focus ring rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, oklab(0.707999 -0.00000712276 0.0000166297 / 0.5) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px
Responsive (measured)
- breakpoints: 360px · 400px · 448px · 481px · 640px · 768px
- mobile (390px): hero 60px · nav hamburger
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/turbo.build
registry item · or query it over MCP: get_design_system("Turborepo")
Export: DESIGN.md
# Turborepo — Design System > light, modern, medium, tailwind — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#FFFFFF` | | surface | `#F0F0F0` | | border | `#DADADA` | | text | `#0A0A0A` | | text_muted | `#676767` | | primary | `#006BFF` | | accent | `#006BFF` | | link | `#006BFF` | | button_bg | `lab(2.75381 0 0)` | | button_text | `lab(100 0 0)` | **Using these colors** - **Action color** `#006BFF` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `primary`, `accent`, `link` are all `#006BFF` — one role, not several (your action color). - **accent** `#006BFF` — 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. - **Page coverage** (full-page screenshot pixels): `#FFFFFF` 93.8% · `#EFEFF1` 3.7% · `#938F92` 2.6% ## Typography - Heading: **SFMono-Regular** _(free fallback: JetBrains Mono)_ - Body: **SFMono-Regular** _(free fallback: JetBrains Mono)_ - Mono: **SFMono-Regular** | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 72px / 600 · lh 72px · tracking -3.6px | | h2 | 40px / 600 · lh 60px · tracking -2px | | h3 | 32px / 600 · lh 48px · tracking -1.6px | | body | 16px / 400 · lh 24px | | small | 14px / 400 · lh 20px | - Weight ladder: 400 · 500 · 600 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** SFMono-Regular may be proprietary — safe free fallback: JetBrains Mono (Google Fonts). ## Spacing - base unit: 8px (inferred from the measured scale) - measured scale: 4px, 6px, 8px, 10px, 12px, 14px, 16px, 20px, 24px, 32px — snap all gaps/padding to these ## Radius - base: 0px - button: 8px - card: 8px - pill: 9999px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `lab(2.75381 0 0)` / `lab(100 0 0)` | none | 8px | 8px 16px 8px 16px | 500 16px | none | | secondary | `lab(100 0 0)` / `lab(48.496 0 0)` | 1px solid lab(90.952 0 -0.0000119209) | 8px | 0px 6px 0px 12px | 400 14px | none | **States (measured, not guessed)** - primary hover: background `oklab(0.145 -0.00000143796 0.00000340492 / 0.9)` - secondary hover: background `lab(96.52 -0.0000298023 0.0000119209)` · color `lab(7.78201 -0.0000149012 0)` - transition: `all 0.15s cubic-bezier(0.4, 0, 0.2, 1)` ## Motion - durations: 150ms (dominant) · 100ms - easings: `cubic-bezier(0.4, 0, 0.2, 1)` (dominant) - animated properties: color, background-color, border-color, outline-color 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 | |-------|-------| | `--color-fd-background` | `lab(100% 0 0)` | | `--color-fd-foreground` | `lab(2.75381% 0 0)` | | `--color-fd-muted` | `lab(96.52% -.0000298023 .0000119209)` | | `--color-fd-muted-foreground` | `lab(48.496% 0 0)` | | `--color-fd-popover` | `lab(100% 0 0)` | | `--color-fd-popover-foreground` | `lab(2.75381% 0 0)` | | `--color-fd-card` | `lab(100% 0 0)` | | `--color-fd-card-foreground` | `lab(2.75381% 0 0)` | | `--color-fd-border` | `lab(90.952% 0 -.0000119209)` | | `--color-fd-primary` | `lab(47.9229% 22.3147 -86.8328)` | | `--color-fd-primary-foreground` | `lab(100% 0 0)` | | `--color-fd-secondary` | `lab(96.52% -.0000298023 .0000119209)` | _…and 108 more measured on the page._ Prefer these names when extending their system — it's the brand's actual vocabulary. ## Layout (measured) - nav: 65px sticky · border-bottom 1px solid lab(90.952 0 -0.0000119209) · bg lab(98.26 0 0) ## Motion choreography (measured) Load order: `svg.lucide` @0ms - overlay dialog (auto-opened): panel rgba(0, 0, 0, 0.2) · r 0px - enter: opacity from 0 · 300ms linear Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - input: h 64px · r 0px · bg rgba(0, 0, 0, 0) · placeholder lab(48.496 0 0) - focus ring: `` — this exact construction, don't invent your own - disabled: bg rgba(0, 0, 0, 0) · text lab(2.75381 0 0) ## Responsive (measured) - breakpoints: 360px · 400px · 448px · 481px · 640px · 768px - mobile (390px): hero 60px · 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 Turborepo's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with turbo.build. No screenshots stored. Removal requests: hello@mozaika.design.