refactor lualine resolution

- create util to determine theme just by the name
- read config from colorschemes.json
This commit is contained in:
Michael Chris Lopez
2021-12-02 18:47:45 +08:00
parent 34bed10a7b
commit 0deecb8e22
14 changed files with 48 additions and 179 deletions

View File

@@ -1,34 +1 @@
-- This file is auto-generated by shipwright.nvim
local common_fg = "#B6B6B6"
local inactive_bg = "#525252"
local inactive_fg = "#F5EDE0"
return {
normal = {
a = { bg = "#868686", fg = common_fg, gui = "bold" },
b = { bg = "#6A6A6A", fg = common_fg },
c = { bg = "#5C5C5C", fg = "#F0E4CF" },
},
insert = {
a = { bg = "#53738B", fg = common_fg, gui = "bold" },
},
command = {
a = { bg = "#9C6992", fg = common_fg, gui = "bold" },
},
visual = {
a = { bg = "#746956", fg = common_fg, gui = "bold" },
},
replace = {
a = { bg = "#764544", fg = common_fg, gui = "bold" },
},
inactive = {
a = { bg = inactive_bg, fg = inactive_fg, gui = "bold" },
b = { bg = inactive_bg, fg = inactive_fg },
c = { bg = inactive_bg, fg = inactive_fg },
},
}
return require("zenbones.util").get_lualine_theme("zenburned")