Ghostty · moonfly · dark · MIT

Moonfly Default for Ghostty

Moonfly Default for Ghostty: #080808 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.

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 #080808
ColorHexRatioLevel
Foreground#bdbdbd10.66:1AAA
Cursor#bdbdbd10.66:1AAA
Selection#9494946.60:1AA
black#3234371.60:1—
red#ff54546.34:1AA
green#8cc85f10.05:1AAA
yellow#e3c78a12.21:1AAA
blue#80a0ff8.00:1AAA
magenta#cf87e87.90:1AAA
cyan#79dac812.09:1AAA
white#c6c6c611.72:1AAA
brightBlack#9494946.60:1AA
brightRed#ff51896.48:1AA
brightGreen#36c6929.20:1AAA
brightYellow#c6c68411.26:1AAA
brightBlue#74b2ff9.11:1AAA
brightMagenta#ae81ff7.04:1AAA
brightCyan#85dc8511.99:1AAA
brightWhite#e4e4e415.75: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 installmoonfly-default.conf
mkdir -p "$HOME/.config/ghostty/themes" && curl -fsSL "https://terminalthemes.iwwi.app/ports/ghostty/moonfly-default.conf" -o "$HOME/.config/ghostty/themes/moonfly-default" && { grep -qxF 'theme = moonfly-default' "$HOME/.config/ghostty/config" 2>/dev/null || printf '\ntheme = %s\n' 'moonfly-default' >> "$HOME/.config/ghostty/config"; }
# Open a new Ghostty window.
Full configuration
background = #080808
foreground = #bdbdbd
cursor-color = #bdbdbd
cursor-text = #080808
selection-background = #949494
selection-foreground = #000000

palette = 0=#323437
palette = 1=#ff5454
palette = 2=#8cc85f
palette = 3=#e3c78a
palette = 4=#80a0ff
palette = 5=#cf87e8
palette = 6=#79dac8
palette = 7=#c6c6c6
palette = 8=#949494
palette = 9=#ff5189
palette = 10=#36c692
palette = 11=#c6c684
palette = 12=#74b2ff
palette = 13=#ae81ff
palette = 14=#85dc85
palette = 15=#e4e4e4
Downloadmoonfly-default.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 Moonfly Default theme for Ghostty on this machine.

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

Save the file to ~/.config/ghostty/themes/<name>. Add theme = <name> to ~/.config/ghostty/config.

How do I install Moonfly Default in Ghostty?

Download the Moonfly 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 Moonfly Default keep its colors in Ghostty?

Yes. It uses #080808 for the background, #bdbdbd 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 Moonfly 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.