Light theme

This commit is contained in:
Saeed Afzal
2025-01-06 21:25:24 +00:00
parent 3fca859015
commit 119f83f0ae
4 changed files with 31 additions and 22 deletions

View File

@@ -0,0 +1,20 @@
local M = {}
function M.toggle()
if vim.o.background == "light" then
vim.o.background = "dark"
vim.cmd [[colorscheme default]]
else
vim.o.background = "light"
vim.cmd [[colorscheme shine]]
end
vim.cmd [[
hi Normal guibg=none
hi NonText guibg=none
hi Normal ctermbg=none
hi NonText ctermbg=none
]]
end
return M