Ghostty · sonokai · dark · MIT
Sonokai Default for Ghostty
Sonokai Default for Ghostty: #2c2e34 background, 10.5: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 #2c2e34| Color | Hex | Ratio | Level |
|---|---|---|---|
| Foreground | #e2e2e3 | 10.48:1 | AAA |
| Cursor | #e2e2e3 | 10.48:1 | AAA |
| Selection | #7f8490 | 3.62:1 | AA large |
| black | #181819 | 1.31:1 | — |
| red | #fc5d7c | 4.52:1 | AA |
| green | #9ed072 | 7.57:1 | AAA |
| yellow | #e7c664 | 8.18:1 | AAA |
| blue | #76cce0 | 7.42:1 | AAA |
| magenta | #b39df3 | 5.84:1 | AA |
| cyan | #f39660 | 6.04:1 | AA |
| white | #e2e2e3 | 10.48:1 | AAA |
| brightBlack | #7f8490 | 3.62:1 | AA large |
| brightRed | #fc5d7c | 4.52:1 | AA |
| brightGreen | #9ed072 | 7.57:1 | AAA |
| brightYellow | #e7c664 | 8.18:1 | AAA |
| brightBlue | #76cce0 | 7.42:1 | AAA |
| brightMagenta | #b39df3 | 5.84:1 | AA |
| brightCyan | #f39660 | 6.04:1 | AA |
| brightWhite | #e2e2e3 | 10.48: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-default.conf" -o "$HOME/.config/ghostty/themes/sonokai-default" && { grep -qxF 'theme = sonokai-default' "$HOME/.config/ghostty/config" 2>/dev/null || printf '\ntheme = %s\n' 'sonokai-default' >> "$HOME/.config/ghostty/config"; }
# Open a new Ghostty window.Full configuration
background = #2c2e34
foreground = #e2e2e3
cursor-color = #e2e2e3
cursor-text = #2c2e34
selection-background = #7f8490
selection-foreground = #000000
palette = 0=#181819
palette = 1=#fc5d7c
palette = 2=#9ed072
palette = 3=#e7c664
palette = 4=#76cce0
palette = 5=#b39df3
palette = 6=#f39660
palette = 7=#e2e2e3
palette = 8=#7f8490
palette = 9=#fc5d7c
palette = 10=#9ed072
palette = 11=#e7c664
palette = 12=#76cce0
palette = 13=#b39df3
palette = 14=#f39660
palette = 15=#e2e2e3
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 Default theme for Ghostty on this machine.
Read the install page: https://terminalthemes.iwwi.app/ghostty/themes/sonokai/default/
Native theme file: https://terminalthemes.iwwi.app/ports/ghostty/sonokai-default.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-default.conf" -o "$HOME/.config/ghostty/themes/sonokai-default" && { grep -qxF 'theme = sonokai-default' "$HOME/.config/ghostty/config" 2>/dev/null || printf '\ntheme = %s\n' 'sonokai-default' >> "$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 Default theme go in Ghostty?
Save the file to ~/.config/ghostty/themes/<name>. Add theme = <name> to ~/.config/ghostty/config.
How do I install Sonokai Default in Ghostty?
Download the Sonokai Default 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 Default keep its colors in Ghostty?
Yes. It uses #2c2e34 for the background, #e2e2e3 for the foreground, and the full 16-color ANSI palette, with 10.5:1 body contrast. Only the Ghostty file format changes.
Can I use Sonokai Default 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 1.8
ΔE00 1.9
ΔE00 2.1
ΔE00 3.1