Ghostty · tokyo-night · dark · MIT
Tokyo Night Default for Ghostty
Tokyo Night Default for Ghostty: #1a1b26 background, 10.6: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 #1a1b26| Color | Hex | Ratio | Level |
|---|---|---|---|
| Foreground | #c0caf5 | 10.59:1 | AAA |
| Cursor | #c0caf5 | 10.59:1 | AAA |
| Selection | #414868 | 1.91:1 | — |
| black | #15161e | 1.05:1 | — |
| red | #f7768e | 6.46:1 | AA |
| green | #9ece6a | 9.35:1 | AAA |
| yellow | #e0af68 | 8.55:1 | AAA |
| blue | #7aa2f7 | 6.79:1 | AA |
| magenta | #bb9af7 | 7.39:1 | AAA |
| cyan | #7dcfff | 9.96:1 | AAA |
| white | #a9b1d6 | 8.10:1 | AAA |
| brightBlack | #414868 | 1.91:1 | — |
| brightRed | #f7768e | 6.46:1 | AA |
| brightGreen | #9ece6a | 9.35:1 | AAA |
| brightYellow | #e0af68 | 8.55:1 | AAA |
| brightBlue | #7aa2f7 | 6.79:1 | AA |
| brightMagenta | #bb9af7 | 7.39:1 | AAA |
| brightCyan | #7dcfff | 9.96:1 | AAA |
| brightWhite | #c0caf5 | 10.59: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/tokyo-night-default.conf" -o "$HOME/.config/ghostty/themes/tokyo-night-default" && { grep -qxF 'theme = tokyo-night-default' "$HOME/.config/ghostty/config" 2>/dev/null || printf '\ntheme = %s\n' 'tokyo-night-default' >> "$HOME/.config/ghostty/config"; }
# Open a new Ghostty window.Full configuration
background = #1a1b26
foreground = #c0caf5
cursor-color = #c0caf5
cursor-text = #1a1b26
selection-background = #414868
selection-foreground = #c0caf5
palette = 0=#15161e
palette = 1=#f7768e
palette = 2=#9ece6a
palette = 3=#e0af68
palette = 4=#7aa2f7
palette = 5=#bb9af7
palette = 6=#7dcfff
palette = 7=#a9b1d6
palette = 8=#414868
palette = 9=#f7768e
palette = 10=#9ece6a
palette = 11=#e0af68
palette = 12=#7aa2f7
palette = 13=#bb9af7
palette = 14=#7dcfff
palette = 15=#c0caf5
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 Tokyo Night Default theme for Ghostty on this machine.
Read the install page: https://terminalthemes.iwwi.app/ghostty/themes/tokyo-night/default/
Native theme file: https://terminalthemes.iwwi.app/ports/ghostty/tokyo-night-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/tokyo-night-default.conf" -o "$HOME/.config/ghostty/themes/tokyo-night-default" && { grep -qxF 'theme = tokyo-night-default' "$HOME/.config/ghostty/config" 2>/dev/null || printf '\ntheme = %s\n' 'tokyo-night-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 Tokyo Night Default theme go in Ghostty?
Save the file to ~/.config/ghostty/themes/<name>. Add theme = <name> to ~/.config/ghostty/config.
How do I install Tokyo Night Default in Ghostty?
Download the Tokyo Night 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 Tokyo Night Default keep its colors in Ghostty?
Yes. It uses #1a1b26 for the background, #c0caf5 for the foreground, and the full 16-color ANSI palette, with 10.6:1 body contrast. Only the Ghostty file format changes.
Can I use Tokyo Night 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 0.6
ΔE00 5.0
ΔE00 7.3
ΔE00 8.7