diff --git a/lua/catppuccin/core/integrations/telescope.lua b/lua/catppuccin/core/integrations/telescope.lua new file mode 100644 index 0000000..12ffd6c --- /dev/null +++ b/lua/catppuccin/core/integrations/telescope.lua @@ -0,0 +1,23 @@ +local M = {} + +function M.get(cp) + return { + TelescopeBorder = { fg = cp.blue }, + TelescopeSelectionCaret = { fg = cp.flamingo }, + TelescopeSelection = { fg = cp.text, bg = cp.surface0, style = "bold" }, + TelescopeMatching = { fg = cp.blue }, + -- Allow Telescope to hijack these highlights in order to achieve the old behavior + -- TelescopePromptPrefix = { bg = cp.crust }, + -- TelescopePromptNormal = { bg = cp.crust}, + -- TelescopeResultsNormal = { bg = cp.mantle}, + -- TelescopePreviewNormal = { bg = cp.crust }, + -- TelescopePromptBorder = { bg = cp.crust, fg = cp.crust }, + -- TelescopeResultsBorder = { bg = cp.mantle, fg = cp.crust }, + -- TelescopePreviewBorder = { bg = cp.crust, fg = cp.crust }, + -- TelescopePromptTitle = { fg = cp.crust }, + -- TelescopeResultsTitle = { fg = cp.text }, + -- TelescopePreviewTitle = { fg = cp.crust }, + } +end + +return M