dotfiles/nvim/lua/plugins/catppuccin.lua

44 lines
1.3 KiB
Lua
Raw Normal View History

2024-01-17 13:01:32 +01:00
return {
"catppuccin/nvim",
name = "catppuccin",
opts = {
flavour = "mocha",
integrations = {
mason = true,
lsp_trouble = true,
vimwiki = true
},
custom_highlights = function(colors)
return {
TelescopeNormal = { bg = "#191926"},
TelescopeBorder = { bg = "#191926", fg = "#191926" },
TelescopePromptBorder = { bg = "#191926", fg = "#191926" },
TelescopeTitle = { fg = colors.blue },
WinSeparator = { fg = "#191926" }
}
end,
color_overrides = {
mocha = {
-- this 16 colors are changed to onedark
base = "#11121D",
text = "#abb2bf",
rosewater = "#b6bdca",
lavender = "#ed8897",
red = "#e06c75",
peach = "#d19a66",
yellow = "#e5c07b",
green = "#98c379",
teal = "#56b6c2",
blue = "#61afef",
mauve = "#c678dd",
flamingo = "#be5046",
pink="#ef9f76"
}
}
},
config = function (_, opts)
require("catppuccin").setup(opts)
vim.cmd("colorscheme catppuccin")
end
}