From 76feae870462378a957d1addfcfa1a97c1ac9cfa Mon Sep 17 00:00:00 2001 From: Niverton Date: Wed, 21 Feb 2024 10:53:19 +0100 Subject: [PATCH] Fixed statusline and tabline background --- lua/astrobox/highlights/modules/core.lua | 6 +++--- lua/astrobox/highlights/modules/neo-tree.lua | 2 +- lua/astrobox/theme.lua | 11 ++++++++--- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/lua/astrobox/highlights/modules/core.lua b/lua/astrobox/highlights/modules/core.lua index b9782fe..efd5606 100644 --- a/lua/astrobox/highlights/modules/core.lua +++ b/lua/astrobox/highlights/modules/core.lua @@ -28,9 +28,9 @@ return function(theme, palette) StatusReplace = { fg = theme.statusbar.normal.bg, bg = palette.red }, StatusTerminal = { link = "StatusInsert" }, StatusVisual = { fg = theme.statusbar.normal.bg, bg = palette.purple }, - TabLine = theme.statusbar.normal, - TabLineFill = { link = "TabLine" }, - TabLineSel = vim.tbl_extend("error", theme.statusbar.inactive, { bold = true, italic = true }), + TabLine = theme.statusbar.inactive, + TabLineFill = theme.statusbar.normal, + TabLineSel = theme.statusbar.active, WinBar = theme.winbar.normal, WinBarNC = theme.winbar.inactive, diff --git a/lua/astrobox/highlights/modules/neo-tree.lua b/lua/astrobox/highlights/modules/neo-tree.lua index 39d362b..1dbf552 100644 --- a/lua/astrobox/highlights/modules/neo-tree.lua +++ b/lua/astrobox/highlights/modules/neo-tree.lua @@ -23,7 +23,7 @@ return function(theme, palette) NeoTreeFloatTitle = theme.popup.title, NeoTreeSymbolicLinkTarget = { fg = palette.aqua }, - NeoTreeTabActive = vim.tbl_extend("error", theme.statusbar.active, { bold = true }), + NeoTreeTabActive = theme.statusbar.inactive, NeoTreeTabInactive = theme.winbar.inactive, NeoTreeTitleBar = theme.popup.title2, } diff --git a/lua/astrobox/theme.lua b/lua/astrobox/theme.lua index 667cd64..27f9c69 100644 --- a/lua/astrobox/theme.lua +++ b/lua/astrobox/theme.lua @@ -89,18 +89,23 @@ function M.make_theme(P, C) T.statusbar = { normal = { fg = P.fg_gradiant[1], - bg = P.harder_bg, + bg = P.bg_gradiant[1], }, active = { fg = P.fg_gradiant[1], bg = P.harder_bg, + bold = true, }, inactive = { - fg = P.fg, - bg = P.bg_gradiant[1], + fg = P.fg_gradiant[1], + bg = P.bg, }, } T.winbar = { + active = { + fg = P.fg_gradiant[1], + bg = P.bg, + }, normal = { fg = P.fg_gradiant[1], bg = P.harder_bg,