fix: component highlights fg defaulting to bg
This commit is contained in:
parent
0ad7145127
commit
65464f7849
|
@ -129,7 +129,7 @@ function M.create_component_highlight_group(color, highlight_tag, options)
|
|||
active_theme.normal[section]
|
||||
local bg = (color.bg or (type(options.color) == 'table' and options.color.bg)
|
||||
or default_color_table.bg)
|
||||
local fg = (color.fg or (type(options.color) == 'table' and options.color.bg)
|
||||
local fg = (color.fg or (type(options.color) == 'table' and options.color.fg)
|
||||
or default_color_table.fg)
|
||||
-- Check if it's same as normal mode if it is no need to create aditional highlight
|
||||
if mode ~= 'normal' then
|
||||
|
|
Loading…
Reference in New Issue