Ghostty · tokyo-night · dark · MIT

Tokyo Night Moon for Ghostty

Tokyo Night Moon for Ghostty: #222436 background, 10.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.

Download themeAll terminalsOpen in editor

Preview

Palette

ANSI

black
red
green
yellow
blue
magenta
cyan
white
b.Black
b.Red
b.Green
b.Yellow
b.Blue
b.Magenta
b.Cyan
b.White

Base colors

Background
Foreground
Cursor
Selection

Contrast

WCAG · vs #222436
ColorHexRatioLevel
Foreground#c8d3f510.26:1AAA
Cursor#c8d3f510.26:1AAA
Selection#444a731.80:1—
black#1b1d2b1.09:1—
red#ff757f5.90:1AA
green#c3e88d11.10:1AAA
yellow#ffc7779.96:1AAA
blue#82aaff6.66:1AA
magenta#c099ff6.73:1AA
cyan#86e1fc10.33:1AAA
white#828bb84.61:1AA
brightBlack#444a731.80:1—
brightRed#ff757f5.90:1AA
brightGreen#c3e88d11.10:1AAA
brightYellow#ffc7779.96:1AAA
brightBlue#82aaff6.66:1AA
brightMagenta#c099ff6.73:1AA
brightCyan#86e1fc10.33:1AAA
brightWhite#c8d3f510.26:1AAA

Install for Ghostty

Documentation
  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 installtokyo-night-moon.conf
mkdir -p "$HOME/.config/ghostty/themes" && curl -fsSL "https://terminalthemes.iwwi.app/ports/ghostty/tokyo-night-moon.conf" -o "$HOME/.config/ghostty/themes/tokyo-night-moon" && { grep -qxF 'theme = tokyo-night-moon' "$HOME/.config/ghostty/config" 2>/dev/null || printf '\ntheme = %s\n' 'tokyo-night-moon' >> "$HOME/.config/ghostty/config"; }
# Open a new Ghostty window.
Full configuration
background = #222436
foreground = #c8d3f5
cursor-color = #c8d3f5
cursor-text = #222436
selection-background = #444a73
selection-foreground = #c8d3f5

palette = 0=#1b1d2b
palette = 1=#ff757f
palette = 2=#c3e88d
palette = 3=#ffc777
palette = 4=#82aaff
palette = 5=#c099ff
palette = 6=#86e1fc
palette = 7=#828bb8
palette = 8=#444a73
palette = 9=#ff757f
palette = 10=#c3e88d
palette = 11=#ffc777
palette = 12=#82aaff
palette = 13=#c099ff
palette = 14=#86e1fc
palette = 15=#c8d3f5
Downloadtokyo-night-moon.conf

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 Moon theme for Ghostty on this machine.

Read the install page: https://terminalthemes.iwwi.app/ghostty/themes/tokyo-night/moon/
Native theme file: https://terminalthemes.iwwi.app/ports/ghostty/tokyo-night-moon.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-moon.conf" -o "$HOME/.config/ghostty/themes/tokyo-night-moon" && { grep -qxF 'theme = tokyo-night-moon' "$HOME/.config/ghostty/config" 2>/dev/null || printf '\ntheme = %s\n' 'tokyo-night-moon' >> "$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 Moon 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 Moon in Ghostty?

Download the Tokyo Night Moon 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 Moon keep its colors in Ghostty?

Yes. It uses #222436 for the background, #c8d3f5 for the foreground, and the full 16-color ANSI palette, with 10.3:1 body contrast. Only the Ghostty file format changes.

Can I use Tokyo Night Moon 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.