pass colors from builder

This commit is contained in:
Michael Chris Lopez
2021-09-14 07:50:23 +08:00
parent e300373fe5
commit d60fc8aeef
8 changed files with 43 additions and 43 deletions

View File

@@ -39,10 +39,7 @@ color14 ${color14}
color15 ${color15}
]]
return function(name)
local theme = require(name)
local terminal = require(name .. ".terminal")
return function(name, theme, palette, terminal)
local bg = theme.Normal.bg.hex
local fg = theme.Normal.fg.hex
local values = {