Bun — Design System
The full decoded design system for Bun: color roles, type scale, spacing, radii and paste-ready DESIGN.md / Tailwind / CSS exports.
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; 4px 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
| 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; only on things you click or must notice, never large fills. accent,linkare all#9CA3AF— one role, not several (the action color).- 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.
Typography
- Heading: Roboto
- Body: Roboto
- h1: 53.3333px
- h2: 24px
- body: 16px
Spacing
- base unit: 4px
- scale: 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px
Radii
- base: 5px
- button: 5px
Per-section tokens (12)
- Hero — dark · bg #17151A · text #4D4851 · 2 col · split
- Feature — dark · bg #0C0E12 · text #474549 · 2 col · split
- Testimonial / Social Proof — dark · bg #0C0E12 · text #B1B2AB · 2 col · split
- Comparison — dark · bg #131519 · text #323239 · 1 col · center
- Feature — dark · bg #101216 · text #382E39 · 3 col · split
- Feature — dark · bg #0C0E12 · text #A0A3A7 · 1 col · left
- Feature — dark · bg #0C0E12 · text #D5D5D1 · 1 col · left
- Feature — dark · bg #0C0E12 · text #F9F7F7 · 1 col · left
- Feature — dark · bg #131519 · text #948493 · 1 col · center
- Feature — dark · bg #0C0E12 · text #9C8295 · 2 col · split
- Feature — dark · bg #0C0E12 · text #716472 · 1 col · left
- Testimonial / Social Proof — dark · bg #0C0E12 · text #4A474F · 3 col · split
Export: DESIGN.md
# Bun — Design System > dark, modern, high, tailwind ## 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. ## Typography - Heading: **Roboto** - Body: **Roboto** - h1: 53.3333px - h2: 24px - body: 16px > **Fonts —** Roboto — free, on Google. ## Spacing - base unit: 4px - scale: 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px ## Radius - base: 5px - button: 5px ## Primary button - bg `#14151A` · text `#D1D5DB` · radius 5px ## 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.
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;
--text-h1: 53.3333px;
--text-h2: 24px;
--text-body: 16px;
--radius-base: 5px;
--radius-button: 5px;
--spacing-1: 2px;
--spacing-2: 4px;
--spacing-3: 6px;
--spacing-4: 8px;
--spacing-5: 12px;
--spacing-6: 16px;
--spacing-7: 24px;
--spacing-8: 32px;
}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;
--radius: 5px;
--radius-button: 5px;
}
/* fonts: Roboto — free, on Google. */