🎨 ux(nvim): telescope nvchad style and floaterm custom highlight colors
This commit is contained in:
parent
81d7268d2f
commit
b778694cc7
1 changed files with 20 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
local macchiato = require("catppuccin.palettes").get_palette("macchiato")
|
local palette = require("catppuccin.palettes").get_palette("macchiato") -- Import your favorite catppuccin colors
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
|
@ -14,6 +14,23 @@ return {
|
||||||
dark = "macchiato",
|
dark = "macchiato",
|
||||||
},
|
},
|
||||||
term_colors = true,
|
term_colors = true,
|
||||||
|
custom_highlights = function()
|
||||||
|
return {
|
||||||
|
FloatermBorder = { fg = palette.base },
|
||||||
|
TelescopeMatching = { fg = palette.blue },
|
||||||
|
TelescopeSelection = { fg = palette.text, bg = palette.surface0, bold = true },
|
||||||
|
TelescopePromptPrefix = { bg = palette.surface0 },
|
||||||
|
TelescopePromptNormal = { bg = palette.surface0 },
|
||||||
|
TelescopeResultsNormal = { bg = palette.mantle },
|
||||||
|
TelescopePreviewNormal = { bg = palette.mantle },
|
||||||
|
TelescopePromptBorder = { bg = palette.surface0, fg = palette.surface0 },
|
||||||
|
TelescopeResultsBorder = { bg = palette.mantle, fg = palette.mantle },
|
||||||
|
TelescopePreviewBorder = { bg = palette.mantle, fg = palette.mantle },
|
||||||
|
TelescopePromptTitle = { bg = palette.red, fg = palette.mantle },
|
||||||
|
TelescopeResultsTitle = { fg = palette.mantle },
|
||||||
|
TelescopePreviewTitle = { bg = palette.green, fg = palette.mantle },
|
||||||
|
}
|
||||||
|
end,
|
||||||
integrations = {
|
integrations = {
|
||||||
alpha = true,
|
alpha = true,
|
||||||
cmp = true,
|
cmp = true,
|
||||||
|
@ -71,7 +88,6 @@ return {
|
||||||
semantic_tokens = true,
|
semantic_tokens = true,
|
||||||
telescope = {
|
telescope = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
style = "nvchad",
|
|
||||||
},
|
},
|
||||||
symbols_outline = false,
|
symbols_outline = false,
|
||||||
treesitter = true,
|
treesitter = true,
|
||||||
|
@ -87,8 +103,8 @@ return {
|
||||||
styles = { "italic", "bold" },
|
styles = { "italic", "bold" },
|
||||||
custom = {
|
custom = {
|
||||||
all = {
|
all = {
|
||||||
fill = { bg = macchiato.mantle },
|
fill = { bg = palette.mantle },
|
||||||
background = { bg = macchiato.mantle },
|
background = { bg = palette.mantle },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Add table
Reference in a new issue