feat(core): better popup background

This commit is contained in:
2024-03-16 12:33:25 +01:00
parent 84ec08a97b
commit 48a9c09369

View File

@@ -16,6 +16,7 @@ function M.make_theme(P, C)
conceal = { fg = P.bg_gradiant[3], bg = P.harder_bg },
active = { fg = P.none, bg = P.softer_bg },
}
T.error = { fg = "#000000", bg = "#FF00FF" }
T.colors = {
accent = P.blue,
accent2 = P.green,
@@ -66,17 +67,13 @@ function M.make_theme(P, C)
separator = { fg = P.fg_gradiant[4], bg = P.none },
}
T.popup = {
normal = {
fg = P.fg,
bg = P.bg_gradiant[1],
},
normal = T.normal,
conceal = T.conceal,
inactive = {
fg = P.fg_gradiant[4],
bg = P.bg_gradiant[2],
},
-- TODO Check if working good
border = C.float_no_borders and { fg = P.none, bg = P.none } or T.windows.separator,
border = T.windows.separator,
title = { fg = T.colors.accent2, bg = P.none, bold = true }, -- TODO need to switch to normal.bg?
title2 = { fg = T.colors.accent3, bg = P.none, bold = true }, -- TODO need to switch to normal.bg?
}
@@ -99,7 +96,7 @@ function M.make_theme(P, C)
bold = true,
},
inactive = {
fg = P.fg_gradiant[1],
fg = P.fg_gradiant[2],
bg = P.bg,
},
}
@@ -113,7 +110,7 @@ function M.make_theme(P, C)
bg = P.bg,
},
inactive = {
fg = P.bg_gradiant[3],
fg = P.fg_gradiant[4],
bg = P.harder_bg,
},
}
@@ -135,8 +132,6 @@ function M.make_theme(P, C)
P.aqua,
P.fg,
}
T.error = { fg = "#000000", bg = "#FF00FF" }
return T
end