fix: sidebars dark bg on night style (#107)
This commit is contained in:
@@ -47,6 +47,7 @@ function M.setup(config)
|
||||
}
|
||||
if config.style == "night" or config.style == "day" or vim.o.background == "light" then
|
||||
colors.bg = "#1a1b26"
|
||||
colors.bg_dark = "#16161e"
|
||||
end
|
||||
util.bg = colors.bg
|
||||
util.day_brightness = config.dayBrightness
|
||||
|
||||
@@ -50,7 +50,7 @@ function M.setup(config)
|
||||
NormalNC = { fg = c.fg, bg = config.transparent and c.none or c.bg }, -- normal text in non-current windows
|
||||
NormalSB = { fg = c.fg_sidebar, bg = c.bg_sidebar }, -- normal text in non-current windows
|
||||
NormalFloat = { fg = c.fg, bg = c.bg_float }, -- Normal text in floating windows.
|
||||
FloatBorder = { fg = c.border_highlight },
|
||||
FloatBorder = { fg = c.border_highlight, bg = c.bg_float },
|
||||
Pmenu = { bg = c.bg_popup, fg = c.fg }, -- Popup menu: normal item.
|
||||
PmenuSel = { bg = util.darken(c.fg_gutter, 0.8) }, -- Popup menu: selected item.
|
||||
PmenuSbar = { bg = util.lighten(c.bg_popup, 0.95) }, -- Popup menu: scrollbar.
|
||||
|
||||
Reference in New Issue
Block a user