Ghostty · sonokai · dark · MIT
Sonokai Espresso for Ghostty
Sonokai Espresso for Ghostty: #312c2b background, 10.7: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 #312c2b| Color | Hex | Ratio | Level |
|---|---|---|---|
| Foreground | #e4e3e1 | 10.73:1 | AAA |
| Cursor | #e4e3e1 | 10.73:1 | AAA |
| Selection | #90817b | 3.68:1 | AA large |
| black | #1f1e1c | 1.21:1 | — |
| red | #f86882 | 4.78:1 | AA |
| green | #a6cd77 | 7.62:1 | AAA |
| yellow | #f0c66f | 8.53:1 | AAA |
| blue | #81d0c9 | 7.73:1 | AAA |
| magenta | #9fa0e1 | 5.63:1 | AA |
| cyan | #f08d71 | 5.74:1 | AA |
| white | #e4e3e1 | 10.73:1 | AAA |
| brightBlack | #90817b | 3.68:1 | AA large |
| brightRed | #f86882 | 4.78:1 | AA |
| brightGreen | #a6cd77 | 7.62:1 | AAA |
| brightYellow | #f0c66f | 8.53:1 | AAA |
| brightBlue | #81d0c9 | 7.73:1 | AAA |
| brightMagenta | #9fa0e1 | 5.63:1 | AA |
| brightCyan | #f08d71 | 5.74:1 | AA |
| brightWhite | #e4e3e1 | 10.73: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/sonokai-espresso.conf" -o "$HOME/.config/ghostty/themes/sonokai-espresso" && { grep -qxF 'theme = sonokai-espresso' "$HOME/.config/ghostty/config" 2>/dev/null || printf '\ntheme = %s\n' 'sonokai-espresso' >> "$HOME/.config/ghostty/config"; }
# Open a new Ghostty window.Full configuration
background = #312c2b
foreground = #e4e3e1
cursor-color = #e4e3e1
cursor-text = #312c2b
selection-background = #90817b
selection-foreground = #000000
palette = 0=#1f1e1c
palette = 1=#f86882
palette = 2=#a6cd77
palette = 3=#f0c66f
palette = 4=#81d0c9
palette = 5=#9fa0e1
palette = 6=#f08d71
palette = 7=#e4e3e1
palette = 8=#90817b
palette = 9=#f86882
palette = 10=#a6cd77
palette = 11=#f0c66f
palette = 12=#81d0c9
palette = 13=#9fa0e1
palette = 14=#f08d71
palette = 15=#e4e3e1
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 Sonokai Espresso theme for Ghostty on this machine.
Read the install page: https://terminalthemes.iwwi.app/ghostty/themes/sonokai/espresso/
Native theme file: https://terminalthemes.iwwi.app/ports/ghostty/sonokai-espresso.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/sonokai-espresso.conf" -o "$HOME/.config/ghostty/themes/sonokai-espresso" && { grep -qxF 'theme = sonokai-espresso' "$HOME/.config/ghostty/config" 2>/dev/null || printf '\ntheme = %s\n' 'sonokai-espresso' >> "$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 Sonokai Espresso theme go in Ghostty?
Save the file to ~/.config/ghostty/themes/<name>. Add theme = <name> to ~/.config/ghostty/config.
How do I install Sonokai Espresso in Ghostty?
Download the Sonokai Espresso 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 Sonokai Espresso keep its colors in Ghostty?
Yes. It uses #312c2b for the background, #e4e3e1 for the foreground, and the full 16-color ANSI palette, with 10.7:1 body contrast. Only the Ghostty file format changes.
Can I use Sonokai Espresso 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 4.1
ΔE00 4.8
ΔE00 5.7
ΔE00 6.2