2021-09-04 17:01:40 +08:00
|
|
|
local template = [[local common_fg = "${common_fg}"
|
2021-09-06 13:54:38 +08:00
|
|
|
local inactive_bg = "${inactive_bg}"
|
|
|
|
|
local inactive_fg = "${inactive_fg}"
|
2021-09-04 17:01:40 +08:00
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
normal = {
|
|
|
|
|
a = { bg = "${normal_a_bg}", fg = common_fg, gui = "bold" },
|
|
|
|
|
b = { bg = "${normal_b_bg}", fg = common_fg },
|
|
|
|
|
c = { bg = "${normal_c_bg}", fg = "${normal_c_fg}" },
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
insert = {
|
|
|
|
|
a = { bg = "${insert_a_bg}", fg = common_fg, gui = "bold" },
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
command = {
|
|
|
|
|
a = { bg = "${command_a_bg}", fg = common_fg, gui = "bold" },
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
visual = {
|
|
|
|
|
a = { bg = "${visual_a_bg}", fg = common_fg, gui = "bold" },
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
replace = {
|
|
|
|
|
a = { bg = "${replace_a_bg}", fg = common_fg, gui = "bold" },
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
inactive = {
|
2021-09-06 13:54:38 +08:00
|
|
|
a = { bg = inactive_bg, fg = inactive_fg, gui = "bold" },
|
|
|
|
|
b = { bg = inactive_bg, fg = inactive_fg },
|
|
|
|
|
c = { bg = inactive_bg, fg = inactive_fg },
|
2021-09-04 17:01:40 +08:00
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
]]
|
|
|
|
|
|
|
|
|
|
local theme = require "zenbones"
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
"lua/lualine/themes/zenbones.lua",
|
|
|
|
|
template,
|
|
|
|
|
{
|
|
|
|
|
common_fg = theme.Folded.fg.hex,
|
2021-09-06 13:54:38 +08:00
|
|
|
inactive_bg = theme.StatusLineNC.bg.hex,
|
|
|
|
|
inactive_fg = theme.StatusLineNC.fg.hex,
|
2021-09-04 17:01:40 +08:00
|
|
|
normal_a_bg = theme.PmenuSbar.bg.hex,
|
|
|
|
|
normal_b_bg = theme.PmenuSel.bg.hex,
|
|
|
|
|
normal_c_bg = theme.StatusLine.bg.hex,
|
|
|
|
|
normal_c_fg = theme.StatusLine.fg.hex,
|
|
|
|
|
insert_a_bg = theme.DiffAdd.bg.hex,
|
|
|
|
|
command_a_bg = theme.Search.bg.hex,
|
|
|
|
|
visual_a_bg = theme.Visual.bg.hex,
|
|
|
|
|
replace_a_bg = theme.DiffDelete.bg.hex,
|
|
|
|
|
},
|
|
|
|
|
}
|