adding catppuchin theme

This commit is contained in:
SALVI Jérémie
2024-08-17 05:37:44 +02:00
parent 5764e98ae6
commit 3cd1c8f79f
7 changed files with 111 additions and 60 deletions

View File

@@ -5,11 +5,71 @@ if not ok then
end
--- Plugin options
local frappe = require("catppuccin.palettes").get_palette("frappe")
local opts = {
options = {
-- mode = "tabs",
separator_style = "slant",
},
highlights = require("catppuccin.groups.integrations.bufferline").get({
styles = { "italic", "bold" },
custom = {
all = {
fill = { -- bg before buffer
fg = frappe.text,
bg = frappe.crust,
},
background = { -- buffer bg
fg = frappe.text,
bg = frappe.base,
},
buffer_visible = { -- buffer displayed when in another tab
fg = frappe.text,
bg = frappe.surface0,
},
buffer_selected = { -- bufferline displayed when in tab
fg = frappe.text,
bg = frappe.overlay0,
},
close_button = {
fg = frappe.text,
bg = frappe.base,
},
close_button_visible = {
fg = frappe.text,
bg = frappe.surface0,
},
close_button_selected = {
fg = frappe.text,
bg = frappe.overlay0,
},
modified = {
fg = frappe.text,
bg = frappe.base,
},
modified_visible = {
fg = frappe.text,
bg = frappe.surface0,
},
modified_selected = {
fg = frappe.text,
bg = frappe.overlay0,
},
separator = {
fg = frappe.crust,
bg = frappe.base,
},
separator_visible = {
fg = frappe.crust,
bg = frappe.surface0,
},
separator_selected = {
fg = frappe.crust,
bg = frappe.overlay0,
},
},
},
}),
}
--- Load plugin

View File

@@ -6,7 +6,7 @@ require("config/lualine")
require("config/nvim-autopairs")
require("config/nvim-tree")
require("config/nvim-treesitter")
require("config/onedark")
require("config/catppuchin")
require("config/rainbow-delimiters")
require("config/telescope")
require("config/which-key")

View File

@@ -1,6 +0,0 @@
local ok, onedark = pcall(require, "onedark")
if not ok then
return
end
onedark.load()