MozaikaDesign system

Turborepo — Design System

light · modern · medium · tailwind · confidence 45% · deep decode

The full decoded design system for Turborepo: color roles, type scale, spacing, radii and paste-ready DESIGN.md / Tailwind / CSS exports.

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

Tokens

Turborepo's decoded design system: background #FFFFFF, text #0A0A0A, accent #006BFF, link #006BFF, primary #006BFF; type scale h1 72px / h2 32px / body 20px; 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

RoleValue
bg#FFFFFF
surface#F0F0F0
border#DADADA
text#0A0A0A
text_muted#676767
primary#006BFF
accent#006BFF
link#006BFF
button_bglab(2.75381 0 0)
button_textlab(100 0 0)

Using these colors

Typography

Spacing

Radii

Motion

Micro-interactions run at 150ms (dominant) with cubic-bezier(0.4, 0, 0.2, 1).

Native design tokens

TokenValue
--color-fd-backgroundlab(100% 0 0)
--color-fd-foregroundlab(2.75381% 0 0)
--color-fd-mutedlab(96.52% -.0000298023 .0000119209)
--color-fd-muted-foregroundlab(48.496% 0 0)
--color-fd-popoverlab(100% 0 0)
--color-fd-popover-foregroundlab(2.75381% 0 0)
--color-fd-cardlab(100% 0 0)
--color-fd-card-foregroundlab(2.75381% 0 0)
--color-fd-borderlab(90.952% 0 -.0000119209)
--color-fd-primarylab(47.9229% 22.3147 -86.8328)

…and 110 more measured on the page.

Button states (measured)

Layout (measured)

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)

Per-section tokens (5)

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.

---

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

Export: Tailwind v4 (@theme)

@theme {
  /* action color #006BFF — the one interactive color; buttons/links/emphasis only, never large fills. */
  --color-bg: #FFFFFF;
  --color-surface: #F0F0F0;
  --color-border: #DADADA;
  --color-text: #0A0A0A;
  --color-text-muted: #676767;
  --color-primary: #006BFF;  /* primary brand / action color. */
  --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. */
  --color-link: #006BFF;  /* inline text links — shares the action color. */
  --color-button-bg: lab(2.75381 0 0);
  --color-button-text: lab(100 0 0);
  /* fonts: SFMono-Regular may be proprietary — safe free fallback: JetBrains Mono (Google Fonts). */
  --font-heading: "SFMono-Regular", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-body: "SFMono-Regular", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-mono: "SFMono-Regular", ui-monospace, monospace;
  /* measured weights: 400, 500, 600 — use these, not 400/600 */
  --text-hero: 72px; --font-weight-hero: 600; --leading-hero: 72px; --tracking-hero: -3.6px;
  --text-h2: 40px; --font-weight-h2: 600; --leading-h2: 60px; --tracking-h2: -2px;
  --text-h3: 32px; --font-weight-h3: 600; --leading-h3: 48px; --tracking-h3: -1.6px;
  --text-body: 16px; --font-weight-body: 400; --leading-body: 24px;
  --text-small: 14px; --font-weight-small: 400; --leading-small: 20px;
  --radius-base: 0px;
  --radius-button: 8px;
  --radius-card: 8px;
  --radius-pill: 9999px;
  --color-btn-hover: oklab(0.145 -0.00000143796 0.00000340492 / 0.9);  /* measured primary hover fill */
  --ease-brand: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 100ms;  /* use: duration-[var(--duration-fast)] */
  --duration-base: 150ms;
  --spacing: 8px;  /* measured base — drives the p-*/gap-* scale. steps seen on the page: 4, 6, 8, 10, 12, 14, 16, 20, 24, 32px */
}

Export: CSS variables

:root {
  /* action color #006BFF — the one interactive color; buttons/links/emphasis only, never large fills. */
  --bg: #FFFFFF;
  --surface: #F0F0F0;
  --border: #DADADA;
  --text: #0A0A0A;
  --text-muted: #676767;
  --primary: #006BFF;  /* primary brand / 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. */
  --link: #006BFF;  /* inline text links — shares the action color. */
  --button-bg: lab(2.75381 0 0);
  --button-text: lab(100 0 0);
  --font-heading: "SFMono-Regular", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-body: "SFMono-Regular", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-mono: "SFMono-Regular", ui-monospace, monospace;
  --text-hero: 72px; --weight-hero: 600; --leading-hero: 72px; --tracking-hero: -3.6px;
  --text-h2: 40px; --weight-h2: 600; --leading-h2: 60px; --tracking-h2: -2px;
  --text-h3: 32px; --weight-h3: 600; --leading-h3: 48px; --tracking-h3: -1.6px;
  --text-body: 16px; --weight-body: 400; --leading-body: 24px;
  --text-small: 14px; --weight-small: 400; --leading-small: 20px;
  --radius: 0px;
  --radius-button: 8px;
  --radius-card: 8px;
  --radius-pill: 9999px;
  --btn-bg-hover: oklab(0.145 -0.00000143796 0.00000340492 / 0.9);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 100ms;
  --duration-base: 150ms;
}

/* their own tokens, verbatim from the site's :root */
:root {
  --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);
}
/* fonts: SFMono-Regular may be proprietary — safe free fallback: JetBrains Mono (Google Fonts). */