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

@@ -40,7 +40,7 @@ color14 ${color14}
color15 ${color15}
]]
return function(name, theme, palette, terminal)
return function(name, theme, palette, term)
local bg = theme.Normal.bg.hex
local fg = theme.Normal.fg.hex
local values = {
@@ -49,14 +49,14 @@ return function(name, theme, palette, terminal)
foreground = fg,
selection_background = theme.Visual.bg.hex,
selection_foreground = fg,
url_color = terminal.colors[13].hex,
url_color = term[13].hex,
cursor = fg,
active_tab_background = theme.Search.bg.hex,
active_tab_foreground = fg,
inactive_tab_background = theme.StatusLine.bg.hex,
inactive_tab_foreground = fg,
}
for i, v in ipairs(terminal.colors) do
for i, v in ipairs(term) do
values["color" .. (i - 1)] = v.hex
end