Add support for configuring transparent sidebar (#77)

Co-authored-by: Codico <>
This commit is contained in:
codicocodes
2021-08-05 09:29:08 +02:00
committed by GitHub
parent 26c68031b3
commit 7df343023f
3 changed files with 3 additions and 1 deletions

View File

@@ -74,7 +74,7 @@ function M.setup(config)
colors.bg_statusline = colors.bg_dark
-- Sidebar and Floats are configurable
colors.bg_sidebar = config.darkSidebar and colors.bg_dark or colors.bg
colors.bg_sidebar = (config.transparentSidebar and colors.none) or config.darkSidebar and colors.bg_dark or colors.bg
colors.bg_float = config.darkFloat and colors.bg_dark or colors.bg
colors.bg_visual = util.darken(colors.blue0, 0.7)

View File

@@ -30,6 +30,7 @@ config = {
dev = opt("dev", false),
darkFloat = opt("dark_float", true),
darkSidebar = opt("dark_sidebar", true),
transparentSidebar = opt("transparent_sidebar", false),
transform_colors = false,
lualineBold = opt("lualine_bold", false),
}