rename terminal -> term

This commit is contained in:
Michael Chris Lopez
2021-10-09 16:27:46 +08:00
parent f6bcb08068
commit 89b9e8cc69
17 changed files with 49 additions and 50 deletions

View File

@@ -27,13 +27,13 @@ colors:
white: '${color15}'
]]
return function(name, theme, palette, terminal)
return function(name, theme, palette, term)
local values = {
name = name,
bg = theme.Normal.bg.hex,
fg = theme.Normal.fg.hex,
}
for i, v in ipairs(terminal.colors) do
for i, v in ipairs(term) do
values["color" .. (i - 1)] = v.hex
end