refactor: theme based on the system preference

This commit is contained in:
Dinesh Salunke 2024-12-16 12:43:07 +05:30
parent 385bf1bd50
commit 86ab0af01d

View File

@ -8,7 +8,16 @@ return {
neotree = true,
},
config = function()
vim.cmd.colorscheme("catppuccin-mocha")
local catppuccin = require("catppuccin")
catppuccin.setup({
flavour = "auto",
background = {
dark = "mocha",
light = "latte",
},
transparent_background = true,
})
vim.cmd.colorscheme("catppuccin")
end,
},
}