light theme for nvim

This commit is contained in:
Harivansh Rathi 2026-03-20 14:05:11 -04:00
parent facd7e7e31
commit d491a0fc66
5 changed files with 76 additions and 2 deletions

View file

@ -166,4 +166,12 @@ describe("tests", function()
assert.are.same(cozybox.config.contrast, "hard")
assert.are.same(cozybox.config.overrides.Normal.bg, "#181818")
end)
it("supports custom colorscheme names during load", function()
cozybox.setup()
vim.opt.background = "light"
cozybox.load("cozybox-light")
assert.are.same(vim.g.colors_name, "cozybox-light")
end)
end)