WezTerm · sonokai · dark · MIT

Sonokai Default for WezTerm

Sonokai Default for WezTerm: #2c2e34 background, 10.5:1 body contrast, and the full 16-color ANSI palette. Download the Lua color table. Save it to ~/.config/wezterm/colors/<name>.lua. 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 #2c2e34
ColorHexRatioLevel
Foreground#e2e2e310.48:1AAA
Cursor#e2e2e310.48:1AAA
Selection#7f84903.62:1AA large
black#1818191.31:1—
red#fc5d7c4.52:1AA
green#9ed0727.57:1AAA
yellow#e7c6648.18:1AAA
blue#76cce07.42:1AAA
magenta#b39df35.84:1AA
cyan#f396606.04:1AA
white#e2e2e310.48:1AAA
brightBlack#7f84903.62:1AA large
brightRed#fc5d7c4.52:1AA
brightGreen#9ed0727.57:1AAA
brightYellow#e7c6648.18:1AAA
brightBlue#76cce07.42:1AAA
brightMagenta#b39df35.84:1AA
brightCyan#f396606.04:1AA
brightWhite#e2e2e310.48:1AAA

Install for WezTerm

Documentation
  1. Download the Lua color table.
  2. Save it to ~/.config/wezterm/colors/<name>.lua.
  3. Add config.colors = dofile(wezterm.config_dir .. '/colors/<name>.lua') to ~/.config/wezterm/wezterm.lua.
  4. Reload WezTerm.
One-line installsonokai-default.lua
mkdir -p "$HOME/.config/wezterm/colors" && curl -fsSL "https://terminalthemes.iwwi.app/ports/wezterm/sonokai-default.lua" -o "$HOME/.config/wezterm/colors/sonokai-default.lua"
# Add config.colors = dofile(wezterm.config_dir .. "/colors/sonokai-default.lua") to ~/.config/wezterm/wezterm.lua
Full configuration
return {
  foreground = "#e2e2e3",
  background = "#2c2e34",
  cursor_bg = "#e2e2e3",
  cursor_fg = "#2c2e34",
  cursor_border = "#e2e2e3",
  selection_bg = "#7f8490",
  selection_fg = "#000000",
  scrollbar_thumb = "#7f8490",
  split = "#7f8490",
  ansi = {
    "#181819",
    "#fc5d7c",
    "#9ed072",
    "#e7c664",
    "#76cce0",
    "#b39df3",
    "#f39660",
    "#e2e2e3",
  },
  brights = {
    "#7f8490",
    "#fc5d7c",
    "#9ed072",
    "#e7c664",
    "#76cce0",
    "#b39df3",
    "#f39660",
    "#e2e2e3",
  },
}
Downloadsonokai-default.lua

Let an agent install it

Give this prompt to your coding agent. It includes the WezTerm install page, native file, steps, and safety constraints.

Help me install the Sonokai Default theme for WezTerm on this machine.

Read the install page: https://terminalthemes.iwwi.app/wezterm/themes/sonokai/default/
Native theme file: https://terminalthemes.iwwi.app/ports/wezterm/sonokai-default.lua

Follow these steps:
1. Download the Lua color table.
2. Save it to ~/.config/wezterm/colors/<name>.lua.
3. Add config.colors = dofile(wezterm.config_dir .. '/colors/<name>.lua') to ~/.config/wezterm/wezterm.lua.
4. Reload WezTerm.

One-line install:
mkdir -p "$HOME/.config/wezterm/colors" && curl -fsSL "https://terminalthemes.iwwi.app/ports/wezterm/sonokai-default.lua" -o "$HOME/.config/wezterm/colors/sonokai-default.lua"
# Add config.colors = dofile(wezterm.config_dir .. "/colors/sonokai-default.lua") to ~/.config/wezterm/wezterm.lua

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 Sonokai Default theme go in WezTerm?

Download the Lua color table. Save it to ~/.config/wezterm/colors/<name>.lua.

How do I install Sonokai Default in WezTerm?

Download the Sonokai Default Lua color table from this page, run the one-line install command, or place the file in the WezTerm location above. Reload WezTerm.

Does Sonokai Default keep its colors in WezTerm?

Yes. It uses #2c2e34 for the background, #e2e2e3 for the foreground, and the full 16-color ANSI palette, with 10.5:1 body contrast. Only the WezTerm file format changes.

Can I use Sonokai Default in another terminal?

Yes. The same palette exports to every terminal listed on this site; only the install path and file format change.