fix: darker fg for floats
This commit is contained in:
@@ -135,11 +135,13 @@ function M.setup(opts)
|
||||
|
||||
colors.bg_float = config.options.styles.floats == "transparent" and colors.none
|
||||
or config.options.styles.floats == "dark" and colors.bg_dark
|
||||
or "NONE"
|
||||
or colors.bg
|
||||
|
||||
colors.bg_visual = util.darken(colors.blue0, 0.7)
|
||||
colors.bg_search = colors.blue0
|
||||
colors.fg_sidebar = colors.fg_dark
|
||||
-- colors.fg_float = config.options.styles.floats == "dark" and colors.fg_dark or colors.fg
|
||||
colors.fg_float = colors.fg_dark
|
||||
|
||||
colors.error = colors.red1
|
||||
colors.warning = colors.yellow
|
||||
|
||||
@@ -62,7 +62,7 @@ function M.setup()
|
||||
Normal = { fg = c.fg, bg = options.transparent and c.none or c.bg }, -- normal text
|
||||
NormalNC = { fg = c.fg, bg = options.transparent and c.none or options.dim_inactive and c.bg_dark or c.bg }, -- normal text in non-current windows
|
||||
NormalSB = { fg = c.fg_sidebar, bg = c.bg_sidebar }, -- normal text in sidebar
|
||||
NormalFloat = { fg = c.fg, bg = c.bg_float }, -- Normal text in floating windows.
|
||||
NormalFloat = { fg = c.fg_float, bg = c.bg_float }, -- Normal text in floating windows.
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user