fix: changed background color after assertion

dev-doc
Pocco81 3 years ago
parent d51be55ada
commit bf534aa06a

@ -197,11 +197,11 @@ local function get_properties()
local cpt = get_cs() local cpt = get_cs()
local props = { local props = {
termguicolors = true, termguicolors = true,
background = "light" background = "dark"
} }
if (colors_util.assert_brightness(cpt.bg)) then if (colors_util.assert_brightness(cpt.bg)) then
props["background"] = "dark" props["background"] = "light"
end end
return props return props

Loading…
Cancel
Save