added kanagawa theme

This commit is contained in:
2023-09-20 14:15:29 +02:00
parent 544c4814a8
commit 66d9f8d837
3 changed files with 38 additions and 1 deletions

View File

@ -55,7 +55,7 @@ else
-- opt.guifont = 'Hack Nerd Font:h10'
-- opt.guifont = 'JetBrainsMono Nerd Font:h10'
-- opt.guifont = 'FiraCode Nerd Font:h10'
opt.guifont = 'RobotoMono Nerd Font:h10'
opt.guifont = 'RobotoMono Nerd Font:h11'
-- opt.guifont = 'Cousine Nerd Font Mono:h10'
-- opt.guifont = 'DroidSansM Nerd Font Propo:h10'
-- opt.guifont = 'AnonymicePro Nerd Font:h11'

36
lua/plugins/kanagawa.lua Normal file
View File

@ -0,0 +1,36 @@
return {
'rebelot/kanagawa.nvim',
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 },
}
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'
},
})
vim.cmd('colorscheme kanagawa')
end,
enabled = true
}