Ghostty — Design System
The full decoded design system for Ghostty: 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/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
| 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; 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
#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.
Typography
- Heading: JetBrains Mono
- Body: JetBrains Mono
- Mono: JetBrains Mono
- h1: 16px
- h2: 16px
- body: 14px
Spacing
- base unit: 4px
- scale: 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px
Radii
- base: 8px
- button: 6px
Per-section tokens (1)
Export: DESIGN.md
# Ghostty — Design System > dark, modern, medium, custom ## 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. ## Typography - Heading: **JetBrains Mono** - Body: **JetBrains Mono** - Mono: **JetBrains Mono** - h1: 16px - h2: 16px - body: 14px > **Fonts —** JetBrains Mono — free, on Google. ## Spacing - base unit: 4px - scale: 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px ## Radius - base: 8px - button: 6px ## Primary button - bg `#0F0F11` · text `#F0F0F4` · radius 6px ## 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 #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;
--text-h1: 16px;
--text-h2: 16px;
--text-body: 14px;
--radius-base: 8px;
--radius-button: 6px;
--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;
--radius: 8px;
--radius-button: 6px;
}
/* fonts: JetBrains Mono — free, on Google. */