Files
dotfiles/nvim/lua/plugins/colorscheme.lua
T

32 lines
1.1 KiB
Lua

return {
{
"rebelot/kanagawa.nvim",
priority = 1000,
config = function()
require("kanagawa").setup({
transparent = true,
theme = "dragon",
colors = {
theme = {
all = {
ui = {
bg_gutter = "none"
}
}
}
},
overrides = function(colors)
local theme = colors.theme
return {
Pmenu = { fg = theme.ui.shade0, bg = theme.ui.bg_p1, blend = vim.o.pumblend }, -- add `blend = vim.o.pumblend` to enable transparency
PmenuSel = { fg = "NONE", bg = theme.ui.bg_p2 },
PmenuSbar = { bg = theme.ui.bg_m1 },
PmenuThumb = { bg = theme.ui.bg_p2 },
}
end
})
vim.cmd.colorscheme("kanagawa-dragon")
end
},
}