From e34c36411fb2640c619d4f82cfead3249d48507b Mon Sep 17 00:00:00 2001 From: Holger Preu Date: Fri, 24 Jan 2025 20:50:08 +0100 Subject: [PATCH] changed to catppuccin theme --- lua/holger/plugins/colorscheme.lua | 47 ++++++------------------------ 1 file changed, 9 insertions(+), 38 deletions(-) diff --git a/lua/holger/plugins/colorscheme.lua b/lua/holger/plugins/colorscheme.lua index 4cfa1d4..be58f15 100644 --- a/lua/holger/plugins/colorscheme.lua +++ b/lua/holger/plugins/colorscheme.lua @@ -1,40 +1,11 @@ return { - { - "folke/tokyonight.nvim", - priority = 1000, -- make sure to load this before all the other start plugins - config = function() - local bg = "#011628" - local bg_dark = "#011423" - local bg_highlight = "#143652" - local bg_search = "#0A64AC" - local bg_visual = "#275378" - local fg = "#CBE0F0" - local fg_dark = "#B4D0E9" - local fg_gutter = "#627E97" - local border = "#547998" - - require("tokyonight").setup({ - style = "night", - on_colors = function(colors) - colors.bg = bg - colors.bg_dark = bg_dark - colors.bg_float = bg_dark - colors.bg_highlight = bg_highlight - colors.bg_popup = bg_dark - colors.bg_search = bg_search - colors.bg_sidebar = bg_dark - colors.bg_statusline = bg_dark - colors.bg_visual = bg_visual - colors.border = border - colors.fg = fg - colors.fg_dark = fg_dark - colors.fg_float = fg - colors.fg_gutter = fg_gutter - colors.fg_sidebar = fg_dark - end, - }) - -- load the colorscheme here - vim.cmd([[colorscheme tokyonight]]) - end, - }, + { + "catppuccin/nvim", + name = "catppuccin", + priority = 1000, -- make sure to load this before all the other start plugins + config = function() + -- load the colorscheme here + vim.cmd([[colorscheme catppuccin]]) + end, + }, }