45 lines
1.4 KiB
Nix
45 lines
1.4 KiB
Nix
{
|
|
colorschemes.catppuccin = {
|
|
enable = true;
|
|
integrations = {
|
|
cmp = true;
|
|
gitsigns = true;
|
|
harpoon = true;
|
|
neotree = true;
|
|
noice = true;
|
|
treesitter = true;
|
|
rainbow_delimiters = true;
|
|
indent_blankline = {
|
|
enabled = true;
|
|
colored_indent_levels = true;
|
|
};
|
|
};
|
|
customHighlights = ''
|
|
function(colors)
|
|
local bg1 = colors.mantle
|
|
local bg2 = colors.crust
|
|
local fg0 = colors.text
|
|
local green = colors.green
|
|
local red = colors.red
|
|
return {
|
|
TelescopePreviewBorder = { fg = bg1, bg = bg1 },
|
|
TelescopePreviewNormal = { bg = bg1 },
|
|
TelescopePreviewTitle = { fg = fg0, bg = green },
|
|
TelescopePromptBorder = { fg = bg2, bg = bg2 },
|
|
TelescopePromptNormal = { fg = fg0, bg = bg2 },
|
|
TelescopePromptPrefix = { fg = red, bg = bg2 },
|
|
TelescopePromptTitle = { fg = fg0, bg = red },
|
|
TelescopeResultsBorder = { fg = bg1, bg = bg1 },
|
|
TelescopeResultsNormal = { bg = bg1 },
|
|
TelescopeResultsTitle = { fg = bg1, bg = bg1 },
|
|
TelescopeSelection = { bg = bg2, fg = colors.text },
|
|
TelescopeResultsDiffAdd = { fg = fg0 },
|
|
TelescopeResultsDiffChange = { fg = fg0 },
|
|
TelescopeResultsDiffDelete = { fg = fg0 },
|
|
NotifyBackground = { bg = bg2 },
|
|
}
|
|
end
|
|
'';
|
|
};
|
|
}
|