Alacritty · one · dark · unknown

One Dark for Alacritty

One Dark for Alacritty: #282c34 background, 6.6: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.

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 #282c34
ColorHexRatioLevel
Foreground#abb2bf6.57:1AA
Cursor#abb2bf6.57:1AA
Selection#5c63702.32:1—
black#1e21271.15:1—
red#e06c754.38:1AA large
green#98c3796.94:1AA
yellow#d19a665.68:1AA
blue#61afef5.92:1AA
magenta#c678dd4.75:1AA
cyan#56b6c25.91:1AA
white#abb2bf6.57:1AA
brightBlack#5c63702.32:1—
brightRed#e06c754.38:1AA large
brightGreen#98c3796.94:1AA
brightYellow#d19a665.68:1AA
brightBlue#61afef5.92:1AA
brightMagenta#c678dd4.75:1AA
brightCyan#56b6c25.91:1AA
brightWhite#ffffff14.00:1AAA

Install for Alacritty

Documentation
  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.
Downloadone-dark.toml
mkdir -p "$HOME/.config/alacritty/themes" && curl -fsSL "https://terminalthemes.iwwi.app/ports/alacritty/one-dark.toml" -o "$HOME/.config/alacritty/themes/one-dark.toml"
# Then add an import entry to alacritty.toml pointing at ~/.config/alacritty/themes/one-dark.toml
Full configuration
[colors.primary]
background = "#282c34"
foreground = "#abb2bf"

[colors.cursor]
text = "#282c34"
cursor = "#abb2bf"

[colors.selection]
text = "#ffffff"
background = "#5c6370"

[colors.normal]
black = "#1e2127"
red = "#e06c75"
green = "#98c379"
yellow = "#d19a66"
blue = "#61afef"
magenta = "#c678dd"
cyan = "#56b6c2"
white = "#abb2bf"

[colors.bright]
black = "#5c6370"
red = "#e06c75"
green = "#98c379"
yellow = "#d19a66"
blue = "#61afef"
magenta = "#c678dd"
cyan = "#56b6c2"
white = "#ffffff"
Downloadone-dark.toml

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 One Dark theme for Alacritty on this machine.

Read the install page: https://terminalthemes.iwwi.app/alacritty/themes/one/dark/
Native theme file: https://terminalthemes.iwwi.app/ports/alacritty/one-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/one-dark.toml" -o "$HOME/.config/alacritty/themes/one-dark.toml"
# Then add an import entry to alacritty.toml pointing at ~/.config/alacritty/themes/one-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 One 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 One Dark in Alacritty?

Download the One 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 One Dark keep its colors in Alacritty?

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 Alacritty 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.