-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathkanagawa-paper.lua
44 lines (35 loc) · 1.17 KB
/
kanagawa-paper.lua
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
local colors = require("kanagawa-paper.colors").setup()
local theme = colors.theme
local kanagawa_paper = {}
kanagawa_paper.normal = {
a = { bg = theme.modes.normal, fg = theme.ui.bg_m3 },
b = { bg = theme.ui.bg_p2, fg = theme.modes.normal },
c = { bg = theme.ui.bg_p1, fg = theme.ui.fg_gray },
}
kanagawa_paper.insert = {
a = { bg = theme.modes.insert, fg = theme.ui.bg },
b = { bg = theme.ui.bg_p2, fg = theme.modes.insert },
}
kanagawa_paper.command = {
a = { bg = theme.modes.command, fg = theme.ui.bg },
b = { bg = theme.ui.bg_p2, fg = theme.modes.command },
}
kanagawa_paper.visual = {
a = { bg = theme.modes.visual, fg = theme.ui.bg },
b = { bg = theme.ui.bg_p2, fg = theme.modes.visual },
}
kanagawa_paper.replace = {
a = { bg = theme.modes.replace, fg = theme.ui.bg },
b = { bg = theme.ui.bg_p2, fg = theme.modes.replace },
}
kanagawa_paper.inactive = {
a = { bg = theme.ui.bg_m4, fg = theme.ui.fg_gray },
b = { bg = theme.ui.bg_m4, fg = theme.ui.fg_gray, gui = "bold" },
c = { bg = theme.ui.bg_m4, fg = theme.ui.fg_gray },
}
if vim.g.kanagawa_paper_lualine_bold then
for _, mode in pairs(kanagawa_paper) do
mode.a.gui = "bold"
end
end
return kanagawa_paper