summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/no-clown-fiesta/groups/highlights.lua4
-rw-r--r--lua/no-clown-fiesta/groups/telescope.lua5
2 files changed, 7 insertions, 2 deletions
diff --git a/lua/no-clown-fiesta/groups/highlights.lua b/lua/no-clown-fiesta/groups/highlights.lua
index 9beac4b..62a24a0 100644
--- a/lua/no-clown-fiesta/groups/highlights.lua
+++ b/lua/no-clown-fiesta/groups/highlights.lua
@@ -32,7 +32,9 @@ function M.highlight(palette, opts)
CursorLine = { bg = palette.alt_bg },
CursorColumn = { bg = palette.alt_bg },
ColorColumn = { bg = palette.alt_bg },
- NormalFloat = { bg = palette.alt_bg },
+ NormalFloat = {
+ bg = opts.transparent and palette.none or palette.alt_bg,
+ },
Visual = { bg = palette.gray },
VisualNOS = { bg = palette.alt_bg },
WarningMsg = { fg = palette.error, bg = palette.bg },
diff --git a/lua/no-clown-fiesta/groups/telescope.lua b/lua/no-clown-fiesta/groups/telescope.lua
index 7020fa4..cfd9a32 100644
--- a/lua/no-clown-fiesta/groups/telescope.lua
+++ b/lua/no-clown-fiesta/groups/telescope.lua
@@ -2,7 +2,10 @@ local M = {}
function M.highlight(palette, opts)
return {
- TelescopeNormal = { fg = palette.fg, bg = palette.bg },
+ TelescopeNormal = {
+ fg = palette.fg,
+ bg = opts.transparent and palette.none or palette.bg,
+ },
TelescopeSelection = { fg = palette.fg, bg = palette.accent },
TelescopeMatching = { fg = palette.orange, bold = true },
TelescopeBorder = { fg = palette.light_gray, bg = palette.bg },