A Neovim colorscheme port of the beautiful VS Code Kintsugi theme by Ahmed Hatem.
This project keeps the slim, direct-highlight architecture of papercolor-theme-slim: no Lua module, no runtime color builder, and no abstraction inside the colorscheme files. The theme is written in Vimscript because colors/*.vim is Neovim's native colorscheme format and direct :highlight definitions are simple, fast, and easy to override.
kintsugi-dark is the primary/default variant.
kintsugi-darkkintsugi-dark-flaredkintsugi-lightkintsugi-light-flared
Preview SVGs are generated from gallery/inputs/sample.rs with make gen-variants.
kintsugi-dark |
kintsugi-dark-flared |
|---|---|
kintsugi-light |
kintsugi-light-flared |
|---|---|
This theme is a native Neovim colorscheme: it only provides colors/*.vim
files and does not have a Lua setup() function.
vim.pack.add({
"https://github.com/slavafyi/kintsugi.nvim",
})
vim.cmd.colorscheme("kintsugi-dark"){
"slavafyi/kintsugi.nvim",
lazy = false,
priority = 1000,
config = function()
vim.cmd.colorscheme("kintsugi-dark")
end,
}Use any variant from the list above in place of kintsugi-dark.
vim.o.termguicolors = true
vim.cmd.colorscheme("kintsugi-dark")
-- Recommended on Neovim 0.11+.
vim.o.winborder = "rounded"Use normal Neovim highlight overrides. Define override autocommands before loading the colorscheme when possible.
vim.api.nvim_create_autocmd("ColorScheme", {
pattern = "kintsugi-*",
callback = function()
vim.api.nvim_set_hl(0, "Normal", { bg = "NONE" })
end,
})vim.api.nvim_create_autocmd("ColorScheme", {
pattern = "kintsugi-light",
callback = function()
vim.api.nvim_set_hl(0, "Normal", { bg = "#f8f4ea" })
end,
})vim.api.nvim_create_autocmd("ColorScheme", {
pattern = "kintsugi-*",
callback = function()
vim.api.nvim_set_hl(0, "ExamplePluginHighlightGroup", { link = "CursorLine" })
end,
})- Colors ported from VS Code Kintsugi by Ahmed Hatem.
- Vimscript colorscheme architecture based on papercolor-theme-slim by Samuel Roeca.
MIT License - see LICENSE for details.