nvim/lua/themes/kanagawa.lua

39 lines
1.4 KiB
Lua

return {
'rebelot/kanagawa.nvim',
lazy = true,
config = function()
require('kanagawa').setup({
compile = false, -- enable compiling the colorscheme
undercurl = true, -- enable undercurls
commentStyle = { italic = true },
functionStyle = {},
keywordStyle = { italic = true },
statementStyle = { bold = true },
typeStyle = {},
transparent = false, -- do not set background color
dimInactive = true, -- dim inactive window `:h hl-NormalNC`
terminalColors = true, -- define vim.g.terminal_color_{0,17}
colors = {
-- add/modify theme and palette colors
palette = {},
theme = { wave = {}, lotus = {}, dragon = {}, all = {} },
},
overrides = function(colors) -- add/modify highlights
return {
['@lsp.mod.readonly'] = { bold = true },
['@lsp.mod.static'] = { italic = true },
['LspReferenceRead'] = { bg = colors.palette.lotusGreen, fg = colors.palette.dragonBlack0 },
['LspReferenceWrite'] = { bg = colors.palette.lotusRed, fg = colors.palette.fujiWhite },
}
end,
theme = 'wave', -- Load "wave" theme when 'background' option is not set
background = {
-- map the value of 'background' option to a theme
dark = 'wave', -- try "dragon" !
light = 'lotus',
},
})
end,
enabled = true,
}