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 = "#A8B1C5"
local inactive_bg = "#414959"
local inactive_fg = "#F2F4F7"
return {
normal = {
a = { bg = "#727F98", fg = common_fg, gui = "bold" },
b = { bg = "#576175", fg = common_fg },
c = { bg = "#485061", fg = "#EBEEF3" },
},
insert = {
a = { bg = "#476968", fg = common_fg, gui = "bold" },
},
command = {
a = { bg = "#84637E", fg = common_fg, gui = "bold" },
},
visual = {
a = { bg = "#545F70", fg = common_fg, gui = "bold" },
},
replace = {
a = { bg = "#663A3E", 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("nordbones")