You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.8 KiB
55 lines
1.8 KiB
return { |
|
"rebelot/kanagawa.nvim", |
|
lazy = false, -- load on startup |
|
priority = 1000, -- ensure it loads before other colorschemes |
|
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 = false, -- 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 = { |
|
ui = { |
|
bg_gutter = "none", |
|
}, |
|
}, |
|
}, |
|
}, |
|
overrides = function(colors) -- add/modify highlights |
|
local theme = colors.theme |
|
return { |
|
NormalFloat = { bg = "none" }, |
|
FloatBorder = { bg = "none" }, |
|
FloatTitle = { bg = "none" }, |
|
|
|
-- Save an hlgroup with dark background and dimmed foreground |
|
-- so that you can use it where your still want darker windows. |
|
-- E.g.: autocmd TermOpen * setlocal winhighlight=Normal:NormalDark |
|
NormalDark = { fg = theme.ui.fg_dim, bg = theme.ui.bg_m3 }, |
|
|
|
-- Popular plugins that open floats will link to NormalFloat by default; |
|
-- set their background accordingly if you wish to keep them dark and borderless |
|
LazyNormal = { bg = theme.ui.bg_m3, fg = theme.ui.fg_dim }, |
|
MasonNormal = { bg = theme.ui.bg_m3, fg = theme.ui.fg_dim }, |
|
} |
|
end, |
|
theme = "lotus", -- Load "wave" theme |
|
background = { -- map the value of 'background' option to a theme |
|
dark = "wave", -- try "dragon" ! |
|
light = "lotus", |
|
}, |
|
}) |
|
end, |
|
}
|
|
|