@@ -10,10 +10,22 @@ local style = {}
|
||||
|
||||
local cpair = core.cpair
|
||||
|
||||
style.theme = themes.basalt
|
||||
style.theme = themes.sandstone
|
||||
style.fp = themes.get_fp_style(style.theme)
|
||||
|
||||
style.ind_grn = cpair(colors.green, colors.green_off)
|
||||
style.ind_red = cpair(colors.red, colors.red_off)
|
||||
|
||||
-- set theme per configuration
|
||||
---@param fp integer fp theme ID (1 = sandstone, 2 = basalt)
|
||||
function style.set_theme(fp)
|
||||
if fp == 1 then
|
||||
style.theme = themes.sandstone
|
||||
elseif fp == 2 then
|
||||
style.theme = themes.basalt
|
||||
end
|
||||
|
||||
style.fp = themes.get_fp_style(style.theme)
|
||||
end
|
||||
|
||||
return style
|
||||
|
||||
Reference in New Issue
Block a user