nvim-config/lua/plugins/themes.lua

28 lines
680 B
Lua
Raw Normal View History

2024-09-12 21:43:42 +02:00
return {
{
"bluz71/vim-moonfly-colors",
2024-09-12 21:43:42 +02:00
lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins
},
{
"scottmckendry/cyberdream.nvim",
lazy = false,
priority = 1000,
},
{
"f-person/auto-dark-mode.nvim",
opts = {
update_interval = 1000,
set_dark_mode = function()
vim.api.nvim_set_option_value("background", "dark", {})
vim.cmd("colorscheme moonfly")
end,
set_light_mode = function()
vim.o.background = "light"
vim.api.nvim_set_option_value("background", "light", {})
vim.cmd("colorscheme cyberdream")
end,
},
},
2024-09-12 21:43:42 +02:00
}