change flavor to moccha

This commit is contained in:
Oliver Hartmann 2023-10-15 13:46:08 +02:00
parent 89086b70d0
commit b790381843

View File

@ -5,7 +5,7 @@ return
lazy = true, lazy = true,
config = function() config = function()
require('catppuccin').setup({ require('catppuccin').setup({
flavour = 'macchiato', -- latte, frappe, macchiato, mocha flavour = 'mocha', -- latte, frappe, macchiato, mocha
no_italic = true, no_italic = true,
dim_inactive = { dim_inactive = {
enabled = true, enabled = true,
@ -56,14 +56,14 @@ return
CmpBorder = { fg = '#fe4145' }, CmpBorder = { fg = '#fe4145' },
} }
end, end,
macchiato = function(macchiato) mocha = function(colors)
return { return {
['@lsp.mod.readonly'] = { style = { 'bold' } }, ['@lsp.mod.readonly'] = { style = { 'bold' } },
['@type.qualifier'] = { fg = macchiato.sky }, ['@type.qualifier'] = { fg = colors.sky },
['@namespace'] = { fg = macchiato.red }, ['@namespace'] = { fg = colors.red },
['@function.builtin'] = { link = 'Function' }, ['@function.builtin'] = { link = 'Function' },
['@property'] = { fg = macchiato.pink }, ['@property'] = { fg = colors.pink },
Macro = { fg = macchiato.rosewater } Macro = { fg = colors.rosewater }
} }
end, end,
}, },