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