Ghostty — decoded design system
Ghostty'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/ghostty.org.
Decoded design system
Ghostty's decoded design system: background #0F0F11, text #FFFFFF, accent #3551F3, link #F0F0F4, primary #70B8DB; type scale h1 16px / h2 16px / body 16px; 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
| Role | Value |
|---|---|
| bg | #0F0F11 |
| surface | #1D1D1F |
| border | #333334 |
| text | #FFFFFF |
| text_muted | #A3A3A4 |
| primary | #70B8DB |
| accent | #3551F3 |
| link | #F0F0F4 |
| secondary | #BF8CD9 |
| button_bg | #0F0F11 |
| button_text | #F0F0F4 |
Using these colors
- Action color
#0F0F11— the single interactive color; only on things you click or must notice, never large fills. - 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
#F0F0F4— reads as a neutral UI color, not a link accent — verify against the reference (action = #0F0F11). - 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.
Typography
- Heading: JetBrains Mono
- Body: JetBrains Mono
- Mono: JetBrains Mono
- h1: 16px
- h2: 16px
- body: 16px
Spacing
- base unit: 4px
- scale: 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px
Radii
- base: 8px
- button: 6px
Motion
Micro-interactions run at 150ms (dominant) with ease.
- durations: 150ms
- easings:
ease - animated properties: background-color
Native design tokens
| 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 |
…and 21 more measured on the page.
Button states (measured)
- primary hover: background
#3551F3 - primary focus: outline
1px auto rgb(16, 16, 16)
Layout (measured)
- container max-width:
840px - common grid: 3 columns
Responsive (measured)
- breakpoints: 600px · 650px · 660px · 768px · 784px · 950px
- mobile (390px): nav inline
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/ghostty.org
registry item · or query it over MCP: get_design_system("Ghostty")
Export: DESIGN.md
# Ghostty — Design System > dark, modern, medium, custom — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#0F0F11` | | surface | `#1D1D1F` | | border | `#333334` | | text | `#FFFFFF` | | text_muted | `#A3A3A4` | | primary | `#70B8DB` | | accent | `#3551F3` | | link | `#F0F0F4` | | 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** `#F0F0F4` — reads as a neutral UI color, not a link accent — verify against the reference (action = #0F0F11). - **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.5% · `#202129` 3.8% · `#3D3C3E` 3.4% · `#585858` 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.
An automated reading of Ghostty's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with ghostty.org. No screenshots stored. Removal requests: hello@mozaika.design.