Skip to content

Commit

Permalink
fix: sidebars dark bg on night style (folke#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmederosalvarado committed Nov 30, 2021
1 parent 0617035 commit 17ed7bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lua/tokyonight/colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lua/tokyonight/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 17ed7bf

Please sign in to comment.