From 31810e41ec96f3ba556e4aa923d74df840701f11 Mon Sep 17 00:00:00 2001 From: Raoul Branten Date: Wed, 21 May 2025 14:54:08 +0200 Subject: [PATCH] update theme --- lua/config/plugin/catppuccin.lua | 53 ++++++++++++++++++++++++++++++-- lua/config/plugin/init.lua | 4 +-- lua/config/plugin/lualine.lua | 3 +- 3 files changed, 55 insertions(+), 5 deletions(-) diff --git a/lua/config/plugin/catppuccin.lua b/lua/config/plugin/catppuccin.lua index 288e15f..1c2e36e 100644 --- a/lua/config/plugin/catppuccin.lua +++ b/lua/config/plugin/catppuccin.lua @@ -1,4 +1,53 @@ -- setup must be called before loading -require 'catppuccin'.setup() -vim.cmd.colorscheme "catppuccin-mocha" +require("catppuccin").setup({ + flavour = "mocha", -- latte, frappe, macchiato, mocha + background = { -- :h background + light = "latte", + dark = "mocha", + }, + transparent_background = false, -- disables setting the background color. + show_end_of_buffer = false, -- shows the '~' characters after the end of buffers + term_colors = false, -- sets terminal colors (e.g. `g:terminal_color_0`) + dim_inactive = { + enabled = false, -- dims the background color of inactive window + shade = "dark", + percentage = 0.15, -- percentage of the shade to apply to the inactive window + }, + no_italic = false, -- Force no italic + no_bold = false, -- Force no bold + no_underline = false, -- Force no underline + styles = { -- Handles the styles of general hi groups (see `:h highlight-args`): + comments = { "italic" }, -- Change the style of comments + conditionals = { "italic" }, + loops = {}, + functions = {}, + keywords = {}, + strings = {}, + variables = {}, + numbers = {}, + booleans = {}, + properties = {}, + types = {}, + operators = {}, + -- miscs = {}, -- Uncomment to turn off hard-coded styles + }, + color_overrides = {}, + custom_highlights = {}, + default_integrations = true, + integrations = { + cmp = true, + gitsigns = true, + nvimtree = true, + treesitter = true, + notify = false, + mini = { + enabled = true, + indentscope_color = "", + }, + -- For more plugins integrations please scroll down (https://github.com/catppuccin/nvim#integrations) + }, +}) + +-- setup must be called before loading +vim.cmd.colorscheme "catppuccin" diff --git a/lua/config/plugin/init.lua b/lua/config/plugin/init.lua index 668e2c8..450c06f 100644 --- a/lua/config/plugin/init.lua +++ b/lua/config/plugin/init.lua @@ -1,4 +1,4 @@ -require("config.plugin.catppuccin") +--require("config.plugin.catppuccin") require("config.plugin.lualine") require("config.plugin.nvim-tree") require("config.plugin.treesitter") @@ -13,6 +13,6 @@ require("config.plugin.rainbow-delimiters") require("config.plugin.marks") require("config.plugin.vim-indentwise") ---require("config.plugin.gruvbox") +require("config.plugin.gruvbox") --require("config.plugin.lsp_config") --require("config.plugin.indent-blankline") diff --git a/lua/config/plugin/lualine.lua b/lua/config/plugin/lualine.lua index 186c94d..f6423af 100644 --- a/lua/config/plugin/lualine.lua +++ b/lua/config/plugin/lualine.lua @@ -1,7 +1,8 @@ require('lualine').setup { options = { icons_enabled = true, - theme = 'catppuccin-mocha' + --theme = 'catppuccin-mocha' + theme = 'gruvbox' }, sections = { lualine_a = {