mirror of
https://github.com/gabehf/base46.git
synced 2026-03-10 07:50:31 -07:00
fix transparency not working completely
fixes https://github.com/NvChad/NvChad/issues/1070#issuecomment-1125920216
This commit is contained in:
parent
c88d5ea527
commit
00c34f5dd0
3 changed files with 56 additions and 37 deletions
|
|
@ -1,11 +1,8 @@
|
|||
local colors = require("base46").get_colors "base_30"
|
||||
local ui = nvchad.load_config().ui
|
||||
|
||||
local black = colors.black
|
||||
local black2 = colors.black2
|
||||
local blue = colors.blue
|
||||
local darker_black = colors.darker_black
|
||||
local folder_bg = colors.folder_bg
|
||||
local green = colors.green
|
||||
local grey = colors.grey
|
||||
local grey_fg = colors.grey_fg
|
||||
|
|
@ -89,7 +86,6 @@ local defaults = {
|
|||
DiagnosticInformation = { fg = green },
|
||||
|
||||
-- whichkey
|
||||
|
||||
WhichKey = { fg = blue },
|
||||
WhichKeySeparator = { fg = light_grey },
|
||||
WhichKeyDesc = { fg = red },
|
||||
|
|
@ -97,37 +93,4 @@ local defaults = {
|
|||
WhichKeyValue = { fg = green },
|
||||
}
|
||||
|
||||
if ui.transparency then
|
||||
local hl_groups = {
|
||||
"NormalFloat",
|
||||
"Normal",
|
||||
"Folded",
|
||||
"NvimTreeNormal",
|
||||
"NvimTreeNormalNC",
|
||||
"TelescopeNormal",
|
||||
"TelescopePrompt",
|
||||
"TelescopeResults",
|
||||
"TelescopeBorder",
|
||||
"TelescopePromptBorder",
|
||||
"TelescopePromptNormal",
|
||||
"TelescopePromptPrefix",
|
||||
}
|
||||
|
||||
for index, _ in ipairs(hl_groups) do
|
||||
defaults[hl_groups[index]] = {
|
||||
bg = "NONE",
|
||||
}
|
||||
end
|
||||
|
||||
defaults.NvimTreeWinSeparator = {
|
||||
fg = grey,
|
||||
bg = "NONE",
|
||||
}
|
||||
|
||||
defaults.TelescopeResultsTitle = {
|
||||
fg = black,
|
||||
bg = blue,
|
||||
}
|
||||
end
|
||||
|
||||
return defaults
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue