From 680869ec1ab2b1bb1eee02b802ae6849fda14ec7 Mon Sep 17 00:00:00 2001 From: Matt Leong Date: Mon, 17 Jan 2022 15:06:08 -0800 Subject: [PATCH] fix(themes): fix catppuccin colors --- lua/cosmic/theme/integrated/catppuccin.lua | 37 +++++++++++----------- lua/cosmic/theme/plugins.lua | 9 +++++- 2 files changed, 27 insertions(+), 19 deletions(-) diff --git a/lua/cosmic/theme/integrated/catppuccin.lua b/lua/cosmic/theme/integrated/catppuccin.lua index fe2b842..4fd31d6 100644 --- a/lua/cosmic/theme/integrated/catppuccin.lua +++ b/lua/cosmic/theme/integrated/catppuccin.lua @@ -1,23 +1,24 @@ local theme = require('catppuccin.core.color_palette') local colors = { - white = theme.catppuccin0, - bg = theme.catppuccin12, - bg_highlight = theme.catppuccin15, - normal = theme.catppuccin3, - insert = theme.catppuccin4, - command = theme.catppuccin5, - visual = theme.catppuccin8, - replace = theme.catppuccin2, - diffAdd = theme.catppuccin9, - diffModified = theme.catppuccin7, - diffDeleted = theme.catppuccin5, - trace = theme.catppuccin5, - hint = theme.catppuccin10, - info = theme.catppuccin7, - error = theme.catppuccin2, - warn = theme.catppuccin5, - floatBorder = theme.catppuccin12, - selection_caret = theme.catppuccin3, + white = theme.white, + bg = theme.gray2, + bg_highlight = theme.black4, + normal = theme.maroon, + insert = theme.pink, + command = theme.red, + visual = theme.yellow, + replace = theme.flamingo, + diffAdd = theme.blue, + diffModified = theme.teal, + diffDeleted = theme.red, + trace = theme.red, + hint = theme.white, + info = theme.teal, + error = theme.flamingo, + warn = theme.red, + floatBorder = theme.black4, + selection_caret = theme.maroon, } + return colors diff --git a/lua/cosmic/theme/plugins.lua b/lua/cosmic/theme/plugins.lua index 7eaad89..d28addc 100644 --- a/lua/cosmic/theme/plugins.lua +++ b/lua/cosmic/theme/plugins.lua @@ -32,6 +32,13 @@ function M.init(use, config) config = function() local catppuccin = require('catppuccin') catppuccin.setup({ + styles = { + comments = 'NONE', + functions = 'NONE', + keywords = 'NONE', + strings = 'NONE', + variables = 'NONE', + }, integrations = { gitsigns = true, telescope = true, @@ -122,7 +129,7 @@ function M.init(use, config) 'telescope', 'todo-comments', 'tree', - 'treesitter' + 'treesitter', } vim.cmd('autocmd VimEnter * ++nested colorscheme enfocado') end,