Ghostty · github · dark · MIT
GitHub Dark Legacy for Ghostty
GitHub Dark Legacy for Ghostty: #1f2428 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 #1f2428| Color | Hex | Ratio | Level |
|---|---|---|---|
| Foreground | #d1d5da | 10.62:1 | AAA |
| Cursor | #d1d5da | 10.62:1 | AAA |
| Selection | #959da5 | 5.70:1 | AA |
| black | #586069 | 2.45:1 | — |
| red | #ea4a5a | 4.19:1 | AA large |
| green | #34d058 | 7.69:1 | AAA |
| yellow | #ffea7f | 12.92:1 | AAA |
| blue | #2188ff | 4.50:1 | AA large |
| magenta | #b392f0 | 6.18:1 | AA |
| cyan | #39c5cf | 7.50:1 | AAA |
| white | #d1d5da | 10.62:1 | AAA |
| brightBlack | #959da5 | 5.70:1 | AA |
| brightRed | #f97583 | 5.89:1 | AA |
| brightGreen | #85e89d | 10.46:1 | AAA |
| brightYellow | #ffea7f | 12.92:1 | AAA |
| brightBlue | #79b8ff | 7.54:1 | AAA |
| brightMagenta | #b392f0 | 6.18:1 | AA |
| brightCyan | #56d4dd | 8.84:1 | AAA |
| brightWhite | #fafbfc | 15.11: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/github-dark-legacy.conf" -o "$HOME/.config/ghostty/themes/github-dark-legacy" && { grep -qxF 'theme = github-dark-legacy' "$HOME/.config/ghostty/config" 2>/dev/null || printf '\ntheme = %s\n' 'github-dark-legacy' >> "$HOME/.config/ghostty/config"; }
# Open a new Ghostty window.Full configuration
background = #1f2428
foreground = #d1d5da
cursor-color = #d1d5da
cursor-text = #1f2428
selection-background = #959da5
selection-foreground = #000000
palette = 0=#586069
palette = 1=#ea4a5a
palette = 2=#34d058
palette = 3=#ffea7f
palette = 4=#2188ff
palette = 5=#b392f0
palette = 6=#39c5cf
palette = 7=#d1d5da
palette = 8=#959da5
palette = 9=#f97583
palette = 10=#85e89d
palette = 11=#ffea7f
palette = 12=#79b8ff
palette = 13=#b392f0
palette = 14=#56d4dd
palette = 15=#fafbfc
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 GitHub Dark Legacy theme for Ghostty on this machine.
Read the install page: https://terminalthemes.iwwi.app/ghostty/themes/github/dark-legacy/
Native theme file: https://terminalthemes.iwwi.app/ports/ghostty/github-dark-legacy.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/github-dark-legacy.conf" -o "$HOME/.config/ghostty/themes/github-dark-legacy" && { grep -qxF 'theme = github-dark-legacy' "$HOME/.config/ghostty/config" 2>/dev/null || printf '\ntheme = %s\n' 'github-dark-legacy' >> "$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 GitHub Dark Legacy theme go in Ghostty?
Save the file to ~/.config/ghostty/themes/<name>. Add theme = <name> to ~/.config/ghostty/config.
How do I install GitHub Dark Legacy in Ghostty?
Download the GitHub Dark Legacy 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 GitHub Dark Legacy keep its colors in Ghostty?
Yes. It uses #1f2428 for the background, #d1d5da 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 GitHub Dark Legacy 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 7.4
ΔE00 7.6
ΔE00 8.7
ΔE00 9.2