1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
-- Kanagawa comes in three variants:
-- 1.wave the default heart-warming theme,
-- 2.dragon for those late-night sessions
-- 3.lotus for when you're out in the open.
return {
"rebelot/kanagawa.nvim",
config = function ()
require('kanagawa').setup({
-- If you enable compilation, make sure to run :KanagawaCompile command every time you make changes to your config.
compile = true, -- enable compiling the colorscheme
undercurl = true, -- enable undercurls
commentStyle = { italic = true, bold = false},
functionStyle = { bold = true },
keywordStyle = { italic = true},
statementStyle = { bold = true },
typeStyle = {italic = true, bold = false},
transparent = true, -- do not set background color
dimInactive = false, -- dim inactive window `:h hl-NormalNC`
terminalColors = true, -- define vim.g.terminal_color_{0,17}
globalStatus = true, -- adjust window separators highlight for laststatus=3
colors = { -- add/modify theme and palette colors
palette = {},
theme = {
wave = {},
lotus = {},
dragon = {},
all = {
ui = {
bg_gutter = "none",
bg_p1 = 'none',
},
}
},
},
overrides = function(colors) -- add/modify highlights
-- eg: ~/.config/nvim/lazy/kanagawa.nvim/lua/kanagawa/highlights/editor.lua
local theme = colors.theme
local palette = colors.palette
return {
-- CursorLineNr = { fg = theme.diag.warning, bg = theme.ui.bg_gutter, bold = true },
CursorLineNr = { fg = "#709db2", bg = theme.ui.bg_gutter, bold = false },
-- CursorLineNr = { fg = "#545c7e", bg = theme.ui.bg_gutter, bold = true },
-- Visual Visual mode selection.
-- Visual = { bg = theme.ui.bg_visual },
-- Visual = { bg = palette.waveBlue2 },
Visual = { bg = "#2D4F67" },
-- VisualNOS Visual mode selection when vim is "Not Owning the Selection".
VisualNOS = { link = "Visual" },
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 },
-- Search = { bg = colors.surimiOrange },
-- Search = { bg = '#FFA066' },
}
end,
theme = "wave", -- Load "wave" theme when 'background' option is not set
background = { -- map the value of 'background' option to a theme
dark = "dragon", -- try "dragon" !
light = "lotus"
},
})
end
}
|