MozaikaDesign system

Ghostty — Design System

dark · modern · medium · custom · confidence 90% · deep decode

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

Tokens

Ghostty's decoded design system: background #0F0F11, text #F0F0F4, accent #3551F3, link #14242D, primary #70B8DB; type scale h1 16px / h2 16px / body 14px; 4px spacing base; 8px base radius. The single interactive/action color is #0F0F11 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#0F0F11
surface#1C1C1E
border#303033
text#F0F0F4
text_muted#9A9A9D
primary#70B8DB
accent#3551F3
link#14242D
secondary#BF8CD9
button_bg#0F0F11
button_text#F0F0F4

Using these colors

Typography

Spacing

Radii

Motion

Micro-interactions run at 150ms (dominant) with ease.

Native design tokens

TokenValue
--brand-color#3551f3
--gray-0#0f0f11
--gray-1#16161a
--gray-2#242428
--gray-3#4c4c50
--gray-4#828286
--gray-5#959597
--gray-6#c3c3c4
--gray-7#dbdbdc
--gray-8#eaeaeb

…and 21 more measured on the page.

Button states (measured)

Layout (measured)

Responsive (measured)

Per-section tokens (1)

Export: DESIGN.md

# Ghostty — Design System

> dark, modern, medium, custom — deep decode (measured live)

## Colors

| Role | Value |
|------|-------|
| bg | `#0F0F11` |
| surface | `#1C1C1E` |
| border | `#303033` |
| text | `#F0F0F4` |
| text_muted | `#9A9A9D` |
| primary | `#70B8DB` |
| accent | `#3551F3` |
| link | `#14242D` |
| secondary | `#BF8CD9` |
| button_bg | `#0F0F11` |
| button_text | `#F0F0F4` |

**Using these colors**

- **Action color** `#0F0F11` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds.
- **accent** `#3551F3` — accent for emphasis — keep it rare on the page.
- **primary** `#70B8DB` — a brand color — but the call-to-action uses #0F0F11, not this.
- **link** `#14242D` — fails contrast on the background (~1.2:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference).
- **secondary** `#BF8CD9` — 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): `#0F0F11` 89.8% · `#20212A` 3.6% · `#585858` 3.3% · `#3D3C3E` 3.3%

## Typography

- Heading: **JetBrains Mono**
- Body: **JetBrains Mono**
- Mono: **JetBrains Mono**

| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| body | 16px / 400 · lh 22px |
| small | 14px / 300 · lh 20px |

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

> **Fonts —** JetBrains Mono — free, on Google.

## Spacing
- base unit: 4px
- scale: 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px

## Radius
- base: 8px
- button: 6px
- card: 6px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `rgba(0, 0, 0, 0)` / `#F0F0F4` | 1px solid rgb(53, 81, 243) | 6px | 10px 34px 10px 34px | 400 16px | none |
| secondary | `rgba(0, 0, 0, 0)` / `#F0F0F4` | 1px solid rgb(76, 76, 80) | 6px | 10px 34px 10px 34px | 400 16px | none |

**States (measured, not guessed)**

- primary hover: background `#3551F3`
- primary focus: outline `1px auto rgb(16, 16, 16)`
- secondary hover: background `#4C4C50`
- transition: `background-color 0.15s ease`

## Motion
- durations: 150ms (dominant)
- easings: `ease` (dominant)
- animated properties: background-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 |
|-------|-------|
| `--brand-color` | `#3551f3` |
| `--gray-0` | `#0f0f11` |
| `--gray-1` | `#16161a` |
| `--gray-2` | `#242428` |
| `--gray-3` | `#4c4c50` |
| `--gray-4` | `#828286` |
| `--gray-5` | `#959597` |
| `--gray-6` | `#c3c3c4` |
| `--gray-7` | `#dbdbdc` |
| `--gray-8` | `#eaeaeb` |
| `--gray-9` | `#f0f0f4` |
| `--black` | `#000` |

_…and 19 more measured on the page._

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

## Layout (measured)
- container max 840px · common grid: 3-col

| Section (y) | Height | Cols | Gap | Pad y | Split |
|---|---|---|---|---|---|
| 96 | 604 | 3 | — | 0/0 | — |

## Responsive (measured)
- breakpoints: 600px · 650px · 660px · 768px · 784px · 950px
- mobile (390px): 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/ghostty

Export: Tailwind v4 (@theme)

@theme {
  /* action color #0F0F11 — the one interactive color; buttons/links/emphasis only, never large fills. */
  --color-bg: #0F0F11;
  --color-surface: #1C1C1E;
  --color-border: #303033;
  --color-text: #F0F0F4;
  --color-text-muted: #9A9A9D;
  --color-primary: #70B8DB;  /* a brand color — but the call-to-action uses #0F0F11, not this. */
  --color-accent: #3551F3;  /* accent for emphasis — keep it rare on the page. */
  --color-link: #14242D;  /* fails contrast on the background (~1.2:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). */
  --color-secondary: #BF8CD9;  /* 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: #0F0F11;  /* primary-button fill — the main call-to-action color. */
  --color-button-text: #F0F0F4;
  /* fonts: JetBrains Mono — free, on Google. */
  --font-heading: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-body: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  /* measured weights: 300, 400 — use these, not 400/600 */
  --text-body: 16px; --font-weight-body: 400; --leading-body: 22px;
  --text-small: 14px; --font-weight-small: 300; --leading-small: 20px;
  --radius-base: 8px;
  --radius-button: 6px;
  --radius-card: 6px;
  --color-btn-hover: #3551F3;  /* measured primary hover fill */
  --outline-focus: 1px auto rgb(16, 16, 16);  /* measured focus ring */
  --ease-brand: ease;
  --duration-fast: 150ms;  /* use: duration-[var(--duration-fast)] */
  --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 #0F0F11 — the one interactive color; buttons/links/emphasis only, never large fills. */
  --bg: #0F0F11;
  --surface: #1C1C1E;
  --border: #303033;
  --text: #F0F0F4;
  --text-muted: #9A9A9D;
  --primary: #70B8DB;  /* a brand color — but the call-to-action uses #0F0F11, not this. */
  --accent: #3551F3;  /* accent for emphasis — keep it rare on the page. */
  --link: #14242D;  /* fails contrast on the background (~1.2:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). */
  --secondary: #BF8CD9;  /* 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: #0F0F11;  /* primary-button fill — the main call-to-action color. */
  --button-text: #F0F0F4;
  --font-heading: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-body: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --text-body: 16px; --weight-body: 400; --leading-body: 22px;
  --text-small: 14px; --weight-small: 300; --leading-small: 20px;
  --radius: 8px;
  --radius-button: 6px;
  --radius-card: 6px;
  --btn-bg-hover: #3551F3;
  --focus-ring: 1px auto rgb(16, 16, 16);
  --ease: ease;
  --duration-fast: 150ms;
}

/* their own tokens, verbatim from the site's :root */
:root {
  --brand-color: #3551f3;
  --gray-0: #0f0f11;
  --gray-1: #16161a;
  --gray-2: #242428;
  --gray-3: #4c4c50;
  --gray-4: #828286;
  --gray-5: #959597;
  --gray-6: #c3c3c4;
  --gray-7: #dbdbdc;
  --gray-8: #eaeaeb;
  --gray-9: #f0f0f4;
  --black: #000;
}
/* fonts: JetBrains Mono — free, on Google. */