🎨 chroma.nvim derives every highlight group from a small palette, so one theme
file styles syntax, Treesitter, LSP, semantic tokens, and 20+ plugin
integrations consistently. It ships with 98 themes vendored from
NvChad/base46 plus monokai-fusion, and any
base46 theme also works.
🔍 Browse all 99+ themes with :Chroma pick.
:Chroma reset to go back to the configured default.ColorScheme event per theme switch, so statuslines and bufferlines update naturally.telescope.nvim for
:Chroma pick (optional)lualine.nvim for the built-in
Lualine theme (optional)With lazy.nvim:
return {
"malick-tammal/chroma.nvim",
lazy = false,
priority = 1000,
config = function()
require("chroma").setup {
theme = "monokai-fusion",
}
end,
}
For local development, point Lazy at your checkout instead:
return {
dir = "~/Projects/chroma.nvim",
name = "chroma.nvim",
lazy = false,
priority = 1000,
config = function()
require("chroma").setup {}
end,
}
require("chroma").setup {
theme = "monokai-fusion", -- startup theme
transparency = false, -- set backgrounds to NONE
persist = true, -- remember the last applied theme
overrides = nil, -- table or function(palette, theme)
lualine = { -- optional lualine options
transparency = nil, -- override global transparency for lualine
overrides = nil, -- table or function(palette, theme)
},
}
-- In your lualine setup:
require("lualine").setup {
options = {
theme = "chroma",
},
}
| Command | Description |
|---|---|
:Chroma pick |
Open the Telescope theme picker |
:Chroma list |
List available themes |
:Chroma apply <name> |
Apply a theme by name |
:Chroma current |
Print the active theme |
:Chroma reset |
Clear the saved theme and use the configured default |
:checkhealth chroma |
Report themes, integrations, and configuration problems |
:colorscheme ch-<name> |
Load any shipped theme through its shim |
local chroma = require("chroma")
chroma.apply("tokyonight", {
quiet = true, -- suppress the notification
persist = false, -- do not save this selection
fire_event = true -- fire ColorScheme (default)
})
print(chroma.current())
print(table.concat(chroma.list(), ", "))
print(chroma.palette().black)
| Guide | What it covers |
|---|---|
| User guide | Installation, every option, commands, Lua API, transparency, persistence, picker, Lualine, plugin integrations, troubleshooting |
| Theme guide | Palette schema, writing a theme, polish files, testing, and submitting a theme to chroma.nvim |
| Highlight reference | Highlight spec syntax, override methods, custom groups, and per-theme polish recipes |
Once installed, :help chroma opens the same reference inside Neovim.
chroma.nvim ships highlights for telescope, bufferline, nvim-cmp, snacks, neo-tree, mini.nvim, noice, nvim-notify, yanky, which-key, render-markdown, lspsaga, inc-rename, gitsigns, flash, todo-comments, mason, nvim-scrollbar, minuet-ai, smear-cursor, and lualine. See the full table for integration keys.
chroma.nvim is brand new and actively growing — and we'd love your help shaping it!
Whether you are fixing bugs, improving documentation, or adding integrations for your favorite plugins, all contributions are warmly welcome.
Because themes in chroma.nvim are 100% data-driven palettes (no messy highlight logic required), authoring a theme takes just minutes.
We want to see the wildest, most creative community themes imaginable:
If you've created a custom palette, don't keep it to yourself — submit a PR and have it shipped directly with chroma.nvim!
v3.0.monokai-fusion: derived from Monokai Pro.lua/chroma/engine/resolve.lua numerically match base46.Individual theme credits live in
lua/chroma/themes/CREDITS.md.
MIT.