Added heirline setup_colors support
Match active tab with winbar background
This commit is contained in:
8
lua/astrobox/heirline.lua
Normal file
8
lua/astrobox/heirline.lua
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
local M = {}
|
||||||
|
|
||||||
|
function M.setup_colors(colors)
|
||||||
|
colors.buffer_active_bg = colors.tab_active_bg
|
||||||
|
return colors
|
||||||
|
end
|
||||||
|
|
||||||
|
return M
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
return function()
|
return function(theme)
|
||||||
return {
|
return {
|
||||||
HeirlineInactive = { link = "StatusInactive" },
|
HeirlineInactive = theme.error,
|
||||||
HeirlineNormal = { link = "StatusNormal" },
|
HeirlineNormal = { link = "StatusNormal" },
|
||||||
HeirlineInsert = { link = "StatusInsert" },
|
HeirlineInsert = { link = "StatusInsert" },
|
||||||
HeirlineVisual = { link = "StatusVisual" },
|
HeirlineVisual = { link = "StatusVisual" },
|
||||||
|
|||||||
@@ -102,14 +102,14 @@ function M.make_theme(P, C)
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
T.winbar = {
|
T.winbar = {
|
||||||
active = {
|
|
||||||
fg = P.fg_gradiant[1],
|
|
||||||
bg = P.bg,
|
|
||||||
},
|
|
||||||
normal = {
|
normal = {
|
||||||
fg = P.fg_gradiant[1],
|
fg = P.fg_gradiant[1],
|
||||||
bg = P.harder_bg,
|
bg = P.harder_bg,
|
||||||
},
|
},
|
||||||
|
active = {
|
||||||
|
fg = P.fg_gradiant[1],
|
||||||
|
bg = P.bg,
|
||||||
|
},
|
||||||
inactive = {
|
inactive = {
|
||||||
fg = P.bg_gradiant[3],
|
fg = P.bg_gradiant[3],
|
||||||
bg = P.harder_bg,
|
bg = P.harder_bg,
|
||||||
|
|||||||
Reference in New Issue
Block a user