MozaikaDesign system

Bun — Design System

dark · modern · high · tailwind · confidence 90% · deep decode

The full decoded design system for Bun: 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/bun.

Tokens

Bun's decoded design system: background #14151A, text #ECECEE, accent #9CA3AF, link #9CA3AF, primary #F472B6; type scale h1 53.3333px / h2 24px / body 16px; 8px spacing base; 5px base radius. The single interactive/action color is #14151A — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#14151A
surface#202126
border#343539
text#ECECEE
text_muted#999A9D
primary#F472B6
accent#9CA3AF
link#9CA3AF
secondary#3B3F4B
button_bg#14151A
button_text#D1D5DB

Using these colors

Typography

Spacing

Radii

Shadows (elevation)

Motion

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

Native design tokens

TokenValue
--black#0b0a08
--gray-950#0d0e11
--gray-900#14151a
--gray-800#282a36
--gray-700#3b3f4b
--gray-600#4f5666
--gray-500#6b7280
--gray-400#9ca3af
--gray-300#d1d5db
--gray-200#e5e7eb

…and 110 more measured on the page.

Button states (measured)

Layout (measured)

Motion choreography (measured)

Load order: p.duration-100span.blinkg.origin-[50px_50px]×4 → div.flex×3

Scroll reveal: 9 elements rest at opacity 0, translateY(-16px), animate in over 0.15s cubic-bezier(0.4, 0, 0.2, 1).

Responsive (measured)

Per-section tokens (12)

Export: DESIGN.md

# Bun — Design System

> dark, modern, high, tailwind — deep decode (measured live)

## Colors

| Role | Value |
|------|-------|
| bg | `#14151A` |
| surface | `#202126` |
| border | `#343539` |
| text | `#ECECEE` |
| text_muted | `#999A9D` |
| primary | `#F472B6` |
| accent | `#9CA3AF` |
| link | `#9CA3AF` |
| secondary | `#3B3F4B` |
| button_bg | `#14151A` |
| button_text | `#D1D5DB` |

**Using these colors**

- **Action color** `#14151A` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds.
- `accent`, `link` are all `#9CA3AF` — one role, not several.
- **accent** `#9CA3AF` — accent for emphasis — keep it rare on the page.
- **primary** `#F472B6` — a brand color — but the call-to-action uses #14151A, not this.
- **secondary** `#3B3F4B` — 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): `#17151B` 81.8% · `#2F2E39` 10.7% · `#817682` 7.4%

## Typography

- Heading: **Roboto**
- Body: **Roboto**
- Mono: **JetBrains Mono** _(measured)_

| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| hero | 72px / 800 · lh 72px |
| h2 | 60px / 800 · lh 60px |
| h3 | 53px / 800 · lh 53px |
| body | 14px / 400 · lh 20px |
| small | 12px / 400 · lh 16px |
| eyebrow | 14px / 500 · tracking 0.7px |

- Weight ladder: 400 · 500 · 600 · 700 · 800 — use these exact measured weights, not the 400/600 defaults.

> **Fonts —** Roboto — free, on Google.

## Spacing
- base unit: 8px (inferred from the measured scale)
- measured scale: 2px, 3px, 4px, 6px, 8px, 10px, 12px, 15px, 16px, 24px — snap all gaps/padding to these
- section rhythm: 150px top/bottom padding per section (measured)

## Radius
- base: 5px
- button: 5px
- card: 8px
- pill: 9999px
- sharp: 3px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `#F472B6` / `#14151A` | none | 8px | 8px 16px 8px 16px | 500 18px | none |
| secondary | `#282A36` / `#F472B6` | none | 7px 7px 0px 0px | 16px 16px 16px 16px | 400 16px | none |

**States (measured, not guessed)**

- primary focus: outline `1px auto rgb(16, 16, 16)`

## Shadows (elevation)
- subtle: `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(230, 126, 34, 0.05) 0px 10px 15px -3px, rgba(230, 126, 34, 0.05) 0px 4px 6px -4px`
- card: `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(168, 85, 247, 0.05) 0px 10px 15px -3px, rgba(168, 85, 247, 0.05) 0px 4px 6px -4px`

## Motion
- durations: 150ms (dominant) · 200ms · 100ms
- easings: `cubic-bezier(0.4, 0, 0.2, 1)` (dominant) · `linear`
- animated properties: opacity, color, background-color, border-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 |
|-------|-------|
| `--black` | `#0b0a08` |
| `--gray-950` | `#0d0e11` |
| `--gray-900` | `#14151a` |
| `--gray-800` | `#282a36` |
| `--gray-700` | `#3b3f4b` |
| `--gray-600` | `#4f5666` |
| `--gray-500` | `#6b7280` |
| `--gray-400` | `#9ca3af` |
| `--gray-300` | `#d1d5db` |
| `--gray-200` | `#e5e7eb` |
| `--gray-100` | `#f3f4f6` |
| `--gray-50` | `#f9fafb` |

_…and 108 more measured on the page._

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

## Layout (measured)
- container max 1280px · common grid: 2-col
- nav: 83px

| Section (y) | Height | Cols | Gap | Pad y | Split |
|---|---|---|---|---|---|
| 1018 | 1152 | 2 | 24 | 150/150 | — |
| 2169 | 1702 | 2 | 64 | 128/128 | — |

## Motion choreography (measured)
Load order: `p.duration-100` @0ms → `span.blink` @0ms → ``×4 @1ms → `div.flex`×3 @1ms
- scroll reveal: 9 elements rest at opacity 0, translateY(-16px), animate in over 0.15s cubic-bezier(0.4, 0, 0.2, 1) (4 revealed during the drive).

Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography.

## Components (measured)
- link: #282A36 · no underline

## Responsive (measured)
- breakpoints: 640px · 768px · 1024px · 1280px
- mobile (390px): hero 37px · 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/bun

Export: Tailwind v4 (@theme)

@theme {
  /* action color #14151A — the one interactive color; buttons/links/emphasis only, never large fills. */
  --color-bg: #14151A;
  --color-surface: #202126;
  --color-border: #343539;
  --color-text: #ECECEE;
  --color-text-muted: #999A9D;
  --color-primary: #F472B6;  /* a brand color — but the call-to-action uses #14151A, not this. */
  --color-accent: #9CA3AF;  /* accent for emphasis — keep it rare on the page. */
  --color-link: #9CA3AF;  /* reads as a neutral UI color, not a link accent — verify against the reference (action = #14151A). */
  --color-secondary: #3B3F4B;  /* 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: #14151A;  /* primary-button fill — the main call-to-action color. */
  --color-button-text: #D1D5DB;
  /* fonts: Roboto — free, on Google. */
  --font-heading: "Roboto", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  /* measured weights: 400, 500, 600, 700, 800 — use these, not 400/600 */
  --text-hero: 72px; --font-weight-hero: 800; --leading-hero: 72px;
  --text-h2: 60px; --font-weight-h2: 800; --leading-h2: 60px;
  --text-h3: 53px; --font-weight-h3: 800; --leading-h3: 53px;
  --text-body: 14px; --font-weight-body: 400; --leading-body: 20px;
  --text-small: 12px; --font-weight-small: 400; --leading-small: 16px;
  --text-eyebrow: 14px; --font-weight-eyebrow: 500; --tracking-eyebrow: 0.7px;
  --radius-base: 5px;
  --radius-button: 5px;
  --radius-card: 8px;
  --radius-pill: 9999px;
  --radius-sharp: 3px;
  --shadow-card: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(168, 85, 247, 0.05) 0px 10px 15px -3px, rgba(168, 85, 247, 0.05) 0px 4px 6px -4px;
  --shadow-subtle: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(230, 126, 34, 0.05) 0px 10px 15px -3px, rgba(230, 126, 34, 0.05) 0px 4px 6px -4px;
  --outline-focus: 1px auto rgb(16, 16, 16);  /* measured focus ring */
  --ease-brand: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 100ms;  /* use: duration-[var(--duration-fast)] */
  --duration-base: 150ms;
  --duration-slow: 200ms;
  --section-y: 150px;  /* per-section vertical padding (measured) */
  --spacing: 8px;  /* measured base — drives the p-*/gap-* scale. steps seen on the page: 2, 3, 4, 6, 8, 10, 12, 15, 16, 24px */
}

Export: CSS variables

:root {
  /* action color #14151A — the one interactive color; buttons/links/emphasis only, never large fills. */
  --bg: #14151A;
  --surface: #202126;
  --border: #343539;
  --text: #ECECEE;
  --text-muted: #999A9D;
  --primary: #F472B6;  /* a brand color — but the call-to-action uses #14151A, not this. */
  --accent: #9CA3AF;  /* accent for emphasis — keep it rare on the page. */
  --link: #9CA3AF;  /* reads as a neutral UI color, not a link accent — verify against the reference (action = #14151A). */
  --secondary: #3B3F4B;  /* 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: #14151A;  /* primary-button fill — the main call-to-action color. */
  --button-text: #D1D5DB;
  --font-heading: "Roboto", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --text-hero: 72px; --weight-hero: 800; --leading-hero: 72px;
  --text-h2: 60px; --weight-h2: 800; --leading-h2: 60px;
  --text-h3: 53px; --weight-h3: 800; --leading-h3: 53px;
  --text-body: 14px; --weight-body: 400; --leading-body: 20px;
  --text-small: 12px; --weight-small: 400; --leading-small: 16px;
  --text-eyebrow: 14px; --weight-eyebrow: 500; --tracking-eyebrow: 0.7px;
  --radius: 5px;
  --radius-button: 5px;
  --radius-card: 8px;
  --radius-pill: 9999px;
  --radius-sharp: 3px;
  --shadow-card: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(168, 85, 247, 0.05) 0px 10px 15px -3px, rgba(168, 85, 247, 0.05) 0px 4px 6px -4px;
  --shadow-subtle: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(230, 126, 34, 0.05) 0px 10px 15px -3px, rgba(230, 126, 34, 0.05) 0px 4px 6px -4px;
  --focus-ring: 1px auto rgb(16, 16, 16);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 100ms;
  --duration-base: 150ms;
  --duration-slow: 200ms;
  --section-y: 150px;
}

/* their own tokens, verbatim from the site's :root */
:root {
  --black: #0b0a08;
  --gray-950: #0d0e11;
  --gray-900: #14151a;
  --gray-800: #282a36;
  --gray-700: #3b3f4b;
  --gray-600: #4f5666;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
}
/* fonts: Roboto — free, on Google. */