feat: expose each variant as individual theme

ref #98
This commit is contained in:
mvllow 2023-02-20 18:42:47 -06:00
commit 4830f687c3
No known key found for this signature in database
6 changed files with 19 additions and 2 deletions

View file

@ -60,5 +60,15 @@ local variants = {
},
}
if options.variant == 'main' then
return variants.main
end
if options.variant == 'moon' then
return variants.moon
end
if options.variant == 'dawn' then
return variants.dawn
end
return vim.o.background == 'light' and variants.dawn
or variants[options.dark_variant or 'main']