Ghostty · catppuccin · dark · MIT
Catppuccin Mocha for Ghostty
Catppuccin Mocha for Ghostty: #1e1e2e background, 11.3:1 body contrast, and the full 16-color ANSI palette. Save the file to ~/.config/ghostty/themes/<name>. Add theme = <name> to ~/.config/ghostty/config. The same palette also exports to the other supported terminals.
Preview
Palette
ANSI
Base colors
Contrast
WCAG · vs #1e1e2e| Color | Hex | Ratio | Level |
|---|---|---|---|
| Foreground | #cdd6f4 | 11.34:1 | AAA |
| Cursor | #cdd6f4 | 11.34:1 | AAA |
| Selection | #585b70 | 2.46:1 | — |
| black | #45475a | 1.80:1 | — |
| red | #f38ba8 | 7.08:1 | AAA |
| green | #a6e3a1 | 11.03:1 | AAA |
| yellow | #f9e2af | 12.91:1 | AAA |
| blue | #89b4fa | 7.79:1 | AAA |
| magenta | #f5c2e7 | 10.74:1 | AAA |
| cyan | #94e2d5 | 11.01:1 | AAA |
| white | #a6adc8 | 7.37:1 | AAA |
| brightBlack | #585b70 | 2.46:1 | — |
| brightRed | #f37799 | 6.18:1 | AA |
| brightGreen | #89d88b | 9.57:1 | AAA |
| brightYellow | #ebd391 | 11.14:1 | AAA |
| brightBlue | #74a8fc | 6.83:1 | AA |
| brightMagenta | #f2aede | 9.28:1 | AAA |
| brightCyan | #6bd7ca | 9.53:1 | AAA |
| brightWhite | #bac2de | 9.26:1 | AAA |
Install for Ghostty
Documentation- Save the file to ~/.config/ghostty/themes/<name>.
- Add theme = <name> to ~/.config/ghostty/config.
- Reload Ghostty or open a new window.
mkdir -p "$HOME/.config/ghostty/themes" && curl -fsSL "https://terminalthemes.iwwi.app/ports/ghostty/catppuccin-mocha.conf" -o "$HOME/.config/ghostty/themes/catppuccin-mocha" && { grep -qxF 'theme = catppuccin-mocha' "$HOME/.config/ghostty/config" 2>/dev/null || printf '\ntheme = %s\n' 'catppuccin-mocha' >> "$HOME/.config/ghostty/config"; }
# Open a new Ghostty window.Full configuration
background = #1e1e2e
foreground = #cdd6f4
cursor-color = #cdd6f4
cursor-text = #1e1e2e
selection-background = #585b70
selection-foreground = #cdd6f4
palette = 0=#45475a
palette = 1=#f38ba8
palette = 2=#a6e3a1
palette = 3=#f9e2af
palette = 4=#89b4fa
palette = 5=#f5c2e7
palette = 6=#94e2d5
palette = 7=#a6adc8
palette = 8=#585b70
palette = 9=#f37799
palette = 10=#89d88b
palette = 11=#ebd391
palette = 12=#74a8fc
palette = 13=#f2aede
palette = 14=#6bd7ca
palette = 15=#bac2de
Let an agent install it
Give this prompt to your coding agent. It includes the Ghostty install page, native file, steps, and safety constraints.
Help me install the Catppuccin Mocha theme for Ghostty on this machine.
Read the install page: https://terminalthemes.iwwi.app/ghostty/themes/catppuccin/mocha/
Native theme file: https://terminalthemes.iwwi.app/ports/ghostty/catppuccin-mocha.conf
Follow these steps:
1. Save the file to ~/.config/ghostty/themes/<name>.
2. Add theme = <name> to ~/.config/ghostty/config.
3. Reload Ghostty or open a new window.
One-line install:
mkdir -p "$HOME/.config/ghostty/themes" && curl -fsSL "https://terminalthemes.iwwi.app/ports/ghostty/catppuccin-mocha.conf" -o "$HOME/.config/ghostty/themes/catppuccin-mocha" && { grep -qxF 'theme = catppuccin-mocha' "$HOME/.config/ghostty/config" 2>/dev/null || printf '\ntheme = %s\n' 'catppuccin-mocha' >> "$HOME/.config/ghostty/config"; }
# Open a new Ghostty window.
Inspect and back up my existing configuration first. Change only what this theme needs; do not overwrite unrelated settings. Ask before changing my default theme. After installing, verify the file exists and tell me which files changed.FAQ
Frequently asked questions
Where does the Catppuccin Mocha theme go in Ghostty?
Save the file to ~/.config/ghostty/themes/<name>. Add theme = <name> to ~/.config/ghostty/config.
How do I install Catppuccin Mocha in Ghostty?
Download the Catppuccin Mocha configuration file from this page, run the one-line install command, or place the file in the Ghostty location above. Reload Ghostty or open a new window.
Does Catppuccin Mocha keep its colors in Ghostty?
Yes. It uses #1e1e2e for the background, #cdd6f4 for the foreground, and the full 16-color ANSI palette, with 11.3:1 body contrast. Only the Ghostty file format changes.
Can I use Catppuccin Mocha in another terminal?
Yes. The same palette exports to Herdr App, Ghostty, Alacritty, Kitty, iTerm2, and Windows Terminal; only the install path and file format change.
Similar themes
Similar themes
ΔE00 2.6
ΔE00 5.1
ΔE00 9.3
ΔE00 9.5