fix transparency not working completely

fixes https://github.com/NvChad/NvChad/issues/1070#issuecomment-1125920216
This commit is contained in:
siduck 2022-05-13 16:36:49 +05:30
parent c88d5ea527
commit 00c34f5dd0
3 changed files with 56 additions and 37 deletions

48
lua/nv_glassy.lua Normal file
View file

@ -0,0 +1,48 @@
local colors = require("base46").get_colors "base_30"
local M = {
NvimTreeWinSeparator = {
fg = colors.one_bg2,
bg = "NONE",
},
TelescopeResultsTitle = {
fg = colors.black,
bg = colors.blue,
},
}
-- for hl groups which need bg = "NONE" only!
local hl_groups = {
"NormalFloat",
"Normal",
"Folded",
"NvimTreeNormal",
"NvimTreeNormalNC",
"NvimTreeCursorLine",
"TelescopeNormal",
"TelescopePrompt",
"TelescopeResults",
"TelescopePromptNormal",
"TelescopePromptPrefix",
"CursorLine",
"Pmenu",
}
for _, groups in ipairs(hl_groups) do
M[groups] = {
bg = "NONE",
}
end
M.TelescopeBorder = {
fg = colors.grey,
bg = "NONE",
}
M.TelescopePromptBorder = {
fg = colors.grey,
bg = "NONE",
}
return M