fix(themes): fix catppuccin colors

This commit is contained in:
Matt Leong 2022-01-17 15:06:08 -08:00
parent b505570da8
commit 680869ec1a
2 changed files with 27 additions and 19 deletions

View file

@ -1,23 +1,24 @@
local theme = require('catppuccin.core.color_palette') local theme = require('catppuccin.core.color_palette')
local colors = { local colors = {
white = theme.catppuccin0, white = theme.white,
bg = theme.catppuccin12, bg = theme.gray2,
bg_highlight = theme.catppuccin15, bg_highlight = theme.black4,
normal = theme.catppuccin3, normal = theme.maroon,
insert = theme.catppuccin4, insert = theme.pink,
command = theme.catppuccin5, command = theme.red,
visual = theme.catppuccin8, visual = theme.yellow,
replace = theme.catppuccin2, replace = theme.flamingo,
diffAdd = theme.catppuccin9, diffAdd = theme.blue,
diffModified = theme.catppuccin7, diffModified = theme.teal,
diffDeleted = theme.catppuccin5, diffDeleted = theme.red,
trace = theme.catppuccin5, trace = theme.red,
hint = theme.catppuccin10, hint = theme.white,
info = theme.catppuccin7, info = theme.teal,
error = theme.catppuccin2, error = theme.flamingo,
warn = theme.catppuccin5, warn = theme.red,
floatBorder = theme.catppuccin12, floatBorder = theme.black4,
selection_caret = theme.catppuccin3, selection_caret = theme.maroon,
} }
return colors return colors

View file

@ -32,6 +32,13 @@ function M.init(use, config)
config = function() config = function()
local catppuccin = require('catppuccin') local catppuccin = require('catppuccin')
catppuccin.setup({ catppuccin.setup({
styles = {
comments = 'NONE',
functions = 'NONE',
keywords = 'NONE',
strings = 'NONE',
variables = 'NONE',
},
integrations = { integrations = {
gitsigns = true, gitsigns = true,
telescope = true, telescope = true,
@ -122,7 +129,7 @@ function M.init(use, config)
'telescope', 'telescope',
'todo-comments', 'todo-comments',
'tree', 'tree',
'treesitter' 'treesitter',
} }
vim.cmd('autocmd VimEnter * ++nested colorscheme enfocado') vim.cmd('autocmd VimEnter * ++nested colorscheme enfocado')
end, end,