You can access the palette of any standard variant via require("zenbones.palette"), where zenbones can be replaced with any built-in variant. This doesn't work for any custom variant defined in colors/variant.lua. E.g., the example with gruvbones.lua will error out on require("gruvbones.palette").
Is this a bug? Or is it intended? If it's intended, is there any other, albeit consistent, way of accessing the palette of the currently selected theme?
You can access the palette of any standard variant via
require("zenbones.palette"), wherezenbonescan be replaced with any built-in variant. This doesn't work for any custom variant defined incolors/variant.lua. E.g., the example withgruvbones.luawill error out onrequire("gruvbones.palette").Is this a bug? Or is it intended? If it's intended, is there any other, albeit consistent, way of accessing the palette of the currently selected theme?