forked from dineshsalunke/nvim-config
refactor: theme based on the system preference
This commit is contained in:
parent
385bf1bd50
commit
86ab0af01d
@ -8,7 +8,16 @@ return {
|
|||||||
neotree = true,
|
neotree = true,
|
||||||
},
|
},
|
||||||
config = function()
|
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,
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user