Monokai SublimeText

April 28, 2026 · View on GitHub

Monokai SublimeText

License: MIT Last Commit Stars Made with Lua Conventional Commits Ko-fi

A faithful Monokai color scheme with proper ANSI terminal color mapping for modern terminal emulators and editors.

Why?

The original Monokai by Wimer Hazenberg (2006) was designed for code editors (TextMate, Sublime Text), not terminals. It defines 6 signature syntax colors but no ANSI terminal palette. Different terminal emulators map these colors differently — some put orange where blue should be (e.g., Ghostty's built-in "Monokai Classic" maps ANSI index 4 to #FD971F).

This theme uses the proven ANSI mapping from VS Code/Cursor's Monokai, which properly separates normal (muted) and bright (vivid) color variants and places correct blue tones at index 4 and 12.

Named "SublimeText" as a tribute to where many of us first fell in love with Monokai.

Screenshot

Monokai SublimeText Terminal Color Palette

Color Palette

ANSI Terminal Colors

IndexRoleNormal (muted)Bright (vivid)
0/8Black/Grey#333333#666666
1/9Red/Pink#C4265E#f92672
2/10Green#86B42B#A6E22E
3/11Yellow#B3B42B#e2e22e
4/12Blue#6A7EC8#819aff
5/13Magenta/Purple#8C6BC8#AE81FF
6/14Cyan#56ADBC#66D9EF
7/15White#e3e3dd#f8f8f2

Monokai Syntax Colors

RoleColorHex
Background#272822
Foreground#f8f8f2
CommentGrey#75715E
StringYellow#E6DB74
KeywordPink#F92672
FunctionGreen#A6E22E
NumberPurple#AE81FF
TypeCyan#66D9EF
ParameterOrange#FD971F

Supported Applications

Ghostty

Symlink the theme file to your Ghostty themes directory:

mkdir -p ~/.config/ghostty/themes
ln -s "$(pwd)/ghostty/Monokai SublimeText" ~/.config/ghostty/themes/

Then set in your Ghostty config (~/.config/ghostty/config):

theme = Monokai SublimeText

Also works with CMUX: CMUX reuses Ghostty's theme, font, and config directly, so the steps above are all you need — no extra setup required.

Neovim

Using lazy.nvim

{
  dir = "/path/to/monokai-sublimetext/nvim",
  priority = 1000,
  config = function()
    vim.cmd.colorscheme("monokai-sublimetext")
  end,
}

Manual

Add the nvim/ directory to your runtimepath in ~/.config/nvim/init.lua:

vim.opt.rtp:prepend("/path/to/monokai-sublimetext/nvim")
vim.cmd.colorscheme("monokai-sublimetext")

Vim

Symlink the colorscheme file to your Vim colors directory:

mkdir -p ~/.vim/colors
ln -s "$(pwd)/vim/colors/monokai-sublimetext.vim" ~/.vim/colors/

Then add to your ~/.vimrc:

set termguicolors
colorscheme monokai-sublimetext

Note: Requires Vim 8+ with termguicolors support for accurate colors.

Color Sources

License

MIT