Skip to content

Commit

Permalink
fix: Missing background in TelescopeSelection
Browse files Browse the repository at this point in the history
  • Loading branch information
loctvl842 committed Dec 8, 2023
1 parent 149297e commit 7a82aa3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions lua/monokai-pro/theme/plugins/telescope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,20 @@ M.setup = function(c, config, hp)
-- foreground
local common_fg = hp.lighten(c.sideBar.foreground, 30)
return {
TelescopeSelection = isBackgroundClear and {} or {
TelescopeSelection = isBackgroundClear and {
bg = hp.blend(c.editorSuggestWidget.selectedBackground, 0.3, transparent_bg),
bold = true,
} or {
bg = hp.blend(c.base.green, 0.2, result_bg),
bold = true,
},

TelescopeSelectionCaret = {
TelescopeSelectionCaret = isBackgroundClear and {
bg = hp.blend(c.editorSuggestWidget.selectedBackground, 0.3, transparent_bg),
bold = true,
} or {
bg = hp.blend(c.base.green, 0.2, result_bg),
fg = c.base.green
fg = c.base.green,
},

TelescopeNormal = isBackgroundClear and {
Expand Down

0 comments on commit 7a82aa3

Please sign in to comment.