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

@@ -17,10 +17,7 @@ set -g clock-mode-colour '${color5}'
set -g mode-style fg='${color0}',bg='${selection_background}'
]]
return function(name)
local theme = require(name)
local terminal = require(name .. ".terminal")
return function(name, theme, palette, terminal)
local values = {
selection_background = theme.Visual.bg.hex,
}