summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/groups/telescope.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-05-19 22:07:01 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-05-19 22:07:01 +0200
commitf8e2b3fe8ecefaddf9ded87db03daa891a6975e2 (patch)
tree7c47aa0507c9494de033b0d05672cade9cefaa86 /lua/no-clown-fiesta/groups/telescope.lua
parentf1f2218f3f26dee892613446da06a5db52e485ce (diff)
Add transparency to more highlight groups
Diffstat (limited to 'lua/no-clown-fiesta/groups/telescope.lua')
-rw-r--r--lua/no-clown-fiesta/groups/telescope.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/lua/no-clown-fiesta/groups/telescope.lua b/lua/no-clown-fiesta/groups/telescope.lua
index cfd9a32..ae4b880 100644
--- a/lua/no-clown-fiesta/groups/telescope.lua
+++ b/lua/no-clown-fiesta/groups/telescope.lua
@@ -8,7 +8,10 @@ function M.highlight(palette, opts)
},
TelescopeSelection = { fg = palette.fg, bg = palette.accent },
TelescopeMatching = { fg = palette.orange, bold = true },
- TelescopeBorder = { fg = palette.light_gray, bg = palette.bg },
+ TelescopeBorder = {
+ fg = palette.light_gray,
+ bg = opts.transparent and palette.none or palette.bg,
+ },
}
end