1- local function callback ()
1+ local function callback (opts )
22 return {
33 TelescopeResultsTitle = { fg = C .green },
44 TelescopePromptTitle = { fg = C .blue },
@@ -11,10 +11,10 @@ local function callback()
1111 TelescopeSelection = { bg = C .surface1 },
1212 TelescopeMultiSelection = { fg = C .blue },
1313 TelescopeMultiIcon = { fg = C .blue },
14- TelescopeNormal = { fg = C .text , bg = C .base },
15- TelescopePreviewNormal = { fg = C .text , bg = C .base },
16- TelescopePromptNormal = { fg = C .text , bg = C .base },
17- TelescopeResultsNormal = { fg = C .text , bg = C .base },
14+ TelescopeNormal = { fg = C .text , bg = opts . floating and C . mantle or C .base },
15+ TelescopePreviewNormal = { fg = C .text , bg = opts . floating and C . mantle or C .base },
16+ TelescopePromptNormal = { fg = C .text , bg = opts . floating and C . mantle or C .base },
17+ TelescopeResultsNormal = { fg = C .text , bg = opts . floating and C . mantle or C .base },
1818 TelescopeBorder = { fg = C .text },
1919 TelescopeTitle = { fg = C .text },
2020 TelescopePromptCounter = { fg = C .subtext0 },
0 commit comments