Merge pull request #100 from axieax/dev

fix: transparent nvimtree panel
dev
Pocco81 3 years ago committed by GitHub
commit 21ee366fe9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,10 +2,11 @@ local M = {}
function M.get(cp) function M.get(cp)
local config = require("catppuccin.config").options local config = require("catppuccin.config").options
local nvimtree = config.integrations.nvimtree
local root_dir_color = cp.pink local root_dir_color = cp.pink
if config.integrations.nvimtree.show_root then if nvimtree.show_root then
root_dir_color = cp.blue root_dir_color = cp.blue
end end
@ -13,7 +14,7 @@ function M.get(cp)
return { return {
NvimTreeFolderName = { fg = cp.blue }, NvimTreeFolderName = { fg = cp.blue },
NvimTreeFolderIcon = { fg = cp.blue }, NvimTreeFolderIcon = { fg = cp.blue },
NvimTreeNormal = { fg = cp.white, bg = cnf.transparent_panel and "NONE" or cp.black1 }, NvimTreeNormal = { fg = cp.white, bg = nvimtree.transparent_panel and "NONE" or cp.black1 },
NvimTreeOpenedFolderName = { fg = cp.blue }, NvimTreeOpenedFolderName = { fg = cp.blue },
NvimTreeEmptyFolderName = { fg = cp.blue }, NvimTreeEmptyFolderName = { fg = cp.blue },
NvimTreeIndentMarker = { fg = cp.gray0 }, NvimTreeIndentMarker = { fg = cp.gray0 },

Loading…
Cancel
Save