Alacritty · github · dark · MIT
GitHub Dark for Alacritty
GitHub Dark for Alacritty: #010409 background, 17.4:1 body contrast, and the full 16-color ANSI palette. Open ~/.config/alacritty/alacritty.toml. Replace the [colors] tables with the exported block, or include the file from your main config. The same palette also exports to the other supported terminals.
Preview
Palette
ANSI
Base colors
Contrast
WCAG · vs #010409| Color | Hex | Ratio | Level |
|---|---|---|---|
| Foreground | #e6edf3 | 17.38:1 | AAA |
| Cursor | #e6edf3 | 17.38:1 | AAA |
| Selection | #6e7681 | 4.47:1 | AA large |
| black | #484f58 | 2.48:1 | — |
| red | #ff7b72 | 8.14:1 | AAA |
| green | #3fb950 | 8.08:1 | AAA |
| yellow | #d29922 | 8.14:1 | AAA |
| blue | #58a6ff | 8.13:1 | AAA |
| magenta | #bc8cff | 8.15:1 | AAA |
| cyan | #39c5cf | 9.84:1 | AAA |
| white | #b1bac4 | 10.45:1 | AAA |
| brightBlack | #6e7681 | 4.47:1 | AA large |
| brightRed | #ffa198 | 10.56:1 | AAA |
| brightGreen | #56d364 | 10.66:1 | AAA |
| brightYellow | #e3b341 | 10.55:1 | AAA |
| brightBlue | #79c0ff | 10.56:1 | AAA |
| brightMagenta | #d2a8ff | 10.55:1 | AAA |
| brightCyan | #56d4dd | 11.60:1 | AAA |
| brightWhite | #ffffff | 20.54:1 | AAA |
Install for Alacritty
Documentation- Open ~/.config/alacritty/alacritty.toml.
- Replace the [colors] tables with the exported block, or include the file from your main config.
- Save; Alacritty reloads the configuration automatically.
mkdir -p "$HOME/.config/alacritty/themes" && curl -fsSL "https://terminalthemes.iwwi.app/ports/alacritty/github-dark.toml" -o "$HOME/.config/alacritty/themes/github-dark.toml"
# Then add an import entry to alacritty.toml pointing at ~/.config/alacritty/themes/github-dark.tomlFull configuration
[colors.primary]
background = "#010409"
foreground = "#e6edf3"
[colors.cursor]
text = "#010409"
cursor = "#e6edf3"
[colors.selection]
text = "#e6edf3"
background = "#6e7681"
[colors.normal]
black = "#484f58"
red = "#ff7b72"
green = "#3fb950"
yellow = "#d29922"
blue = "#58a6ff"
magenta = "#bc8cff"
cyan = "#39c5cf"
white = "#b1bac4"
[colors.bright]
black = "#6e7681"
red = "#ffa198"
green = "#56d364"
yellow = "#e3b341"
blue = "#79c0ff"
magenta = "#d2a8ff"
cyan = "#56d4dd"
white = "#ffffff"
Let an agent install it
Give this prompt to your coding agent. It includes the Alacritty install page, native file, steps, and safety constraints.
Help me install the GitHub Dark theme for Alacritty on this machine.
Read the install page: https://terminalthemes.iwwi.app/alacritty/themes/github/dark/
Native theme file: https://terminalthemes.iwwi.app/ports/alacritty/github-dark.toml
Follow these steps:
1. Open ~/.config/alacritty/alacritty.toml.
2. Replace the [colors] tables with the exported block, or include the file from your main config.
3. Save; Alacritty reloads the configuration automatically.
One-line install:
mkdir -p "$HOME/.config/alacritty/themes" && curl -fsSL "https://terminalthemes.iwwi.app/ports/alacritty/github-dark.toml" -o "$HOME/.config/alacritty/themes/github-dark.toml"
# Then add an import entry to alacritty.toml pointing at ~/.config/alacritty/themes/github-dark.toml
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 theme go in Alacritty?
Open ~/.config/alacritty/alacritty.toml. Replace the [colors] tables with the exported block, or include the file from your main config.
How do I install GitHub Dark in Alacritty?
Download the GitHub Dark configuration file from this page, run the one-line install command, or place the file in the Alacritty location above. Save; Alacritty reloads the configuration automatically.
Does GitHub Dark keep its colors in Alacritty?
Yes. It uses #010409 for the background, #e6edf3 for the foreground, and the full 16-color ANSI palette, with 17.4:1 body contrast. Only the Alacritty file format changes.
Can I use GitHub 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
Similar themes
ΔE00 4.8
ΔE00 5.6
ΔE00 7.6
ΔE00 8.5