feat: day style for terminal apps

This commit is contained in:
Folke Lemaitre
2021-05-02 10:43:18 +02:00
parent 7dce3b82dc
commit 7dc6445349
10 changed files with 133 additions and 1 deletions

View File

@@ -166,6 +166,13 @@ function util.terminal(colors)
end
end
function util.light_colors(colors)
if type(colors) == "string" then return util.getColor(colors) end
local ret = {}
for key, value in pairs(colors) do ret[key] = util.light_colors(value) end
return ret
end
---@param theme Theme
function util.load(theme)
vim.cmd("hi clear")