Ghostty · one · dark · unknown
One Dark for Ghostty
One Dark for Ghostty: #282c34 background, 6.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 #282c34| Color | Hex | Ratio | Level |
|---|---|---|---|
| Foreground | #abb2bf | 6.57:1 | AA |
| Cursor | #abb2bf | 6.57:1 | AA |
| Selection | #5c6370 | 2.32:1 | — |
| black | #1e2127 | 1.15:1 | — |
| red | #e06c75 | 4.38:1 | AA large |
| green | #98c379 | 6.94:1 | AA |
| yellow | #d19a66 | 5.68:1 | AA |
| blue | #61afef | 5.92:1 | AA |
| magenta | #c678dd | 4.75:1 | AA |
| cyan | #56b6c2 | 5.91:1 | AA |
| white | #abb2bf | 6.57:1 | AA |
| brightBlack | #5c6370 | 2.32:1 | — |
| brightRed | #e06c75 | 4.38:1 | AA large |
| brightGreen | #98c379 | 6.94:1 | AA |
| brightYellow | #d19a66 | 5.68:1 | AA |
| brightBlue | #61afef | 5.92:1 | AA |
| brightMagenta | #c678dd | 4.75:1 | AA |
| brightCyan | #56b6c2 | 5.91:1 | AA |
| brightWhite | #ffffff | 14.00: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/one-dark.conf" -o "$HOME/.config/ghostty/themes/one-dark" && { grep -qxF 'theme = one-dark' "$HOME/.config/ghostty/config" 2>/dev/null || printf '\ntheme = %s\n' 'one-dark' >> "$HOME/.config/ghostty/config"; }
# Open a new Ghostty window.Full configuration
background = #282c34
foreground = #abb2bf
cursor-color = #abb2bf
cursor-text = #282c34
selection-background = #5c6370
selection-foreground = #ffffff
palette = 0=#1e2127
palette = 1=#e06c75
palette = 2=#98c379
palette = 3=#d19a66
palette = 4=#61afef
palette = 5=#c678dd
palette = 6=#56b6c2
palette = 7=#abb2bf
palette = 8=#5c6370
palette = 9=#e06c75
palette = 10=#98c379
palette = 11=#d19a66
palette = 12=#61afef
palette = 13=#c678dd
palette = 14=#56b6c2
palette = 15=#ffffff
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 One Dark theme for Ghostty on this machine.
Read the install page: https://terminalthemes.iwwi.app/ghostty/themes/one/dark/
Native theme file: https://terminalthemes.iwwi.app/ports/ghostty/one-dark.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/one-dark.conf" -o "$HOME/.config/ghostty/themes/one-dark" && { grep -qxF 'theme = one-dark' "$HOME/.config/ghostty/config" 2>/dev/null || printf '\ntheme = %s\n' 'one-dark' >> "$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 One Dark theme go in Ghostty?
Save the file to ~/.config/ghostty/themes/<name>. Add theme = <name> to ~/.config/ghostty/config.
How do I install One Dark in Ghostty?
Download the One Dark 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 One Dark keep its colors in Ghostty?
Yes. It uses #282c34 for the background, #abb2bf for the foreground, and the full 16-color ANSI palette, with 6.6:1 body contrast. Only the Ghostty file format changes.
Can I use One Dark 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