diff --git a/modules/home-manager/programs/neovim/colors/catppuccin-frappe-base16.lua b/modules/home-manager/programs/neovim/colors/catppuccin-frappe-base16.lua new file mode 100644 index 0000000..505f9f4 --- /dev/null +++ b/modules/home-manager/programs/neovim/colors/catppuccin-frappe-base16.lua @@ -0,0 +1,22 @@ +require("mini.base16").setup({ + palette = { + base00 = "#303446", -- base + base01 = "#292c3c", -- mantle + base02 = "#414559", -- surface0 + base03 = "#51576d", -- surface1 + base04 = "#626880", -- surface2 + base05 = "#c6d0f5", -- text + base06 = "#f2d5cf", -- rosewater + base07 = "#babbf1", -- lavender + base08 = "#e78284", -- red + base09 = "#ef9f76", -- peach + base0A = "#e5c890", -- yellow + base0B = "#a6d189", -- green + base0C = "#81c8be", -- teal + base0D = "#8caaee", -- blue + base0E = "#ca9ee6", -- mauve + base0F = "#eebebe", -- flamingo + }, +}) + +vim.g.colors_name = "catppuccin-frappe-base16" diff --git a/modules/home-manager/programs/neovim/default.nix b/modules/home-manager/programs/neovim/default.nix index 5f7cf53..ead6e7a 100644 --- a/modules/home-manager/programs/neovim/default.nix +++ b/modules/home-manager/programs/neovim/default.nix @@ -113,5 +113,7 @@ in config = config; pkgs = pkgs; }; + + xdg.configFile."nvim/colors/catppuccin-frappe-base16.lua".source = ./colors/catppuccin-frappe-base16.lua; }; } diff --git a/modules/home-manager/programs/neovim/lua/community.lua b/modules/home-manager/programs/neovim/lua/community.lua index 4a34756..2302493 100644 --- a/modules/home-manager/programs/neovim/lua/community.lua +++ b/modules/home-manager/programs/neovim/lua/community.lua @@ -14,6 +14,7 @@ return { config.transparent_background = true end, }, + { import = "astrocommunity.colorscheme.mini-base16" }, { import = "astrocommunity.editing-support.todo-comments-nvim" }, { import = "astrocommunity.editing-support.zen-mode-nvim" }, diff --git a/modules/home-manager/programs/neovim/lua/plugins/astroui.lua b/modules/home-manager/programs/neovim/lua/plugins/astroui.lua index b061470..135a79c 100644 --- a/modules/home-manager/programs/neovim/lua/plugins/astroui.lua +++ b/modules/home-manager/programs/neovim/lua/plugins/astroui.lua @@ -9,7 +9,7 @@ return { ---@type AstroUIOpts opts = { -- change colorscheme - colorscheme = "catppuccin", + colorscheme = "catppuccin-frappe-base16", -- AstroUI allows you to easily modify highlight groups easily for any and all colorschemes highlights = { init = { -- this table overrides highlights in all themes