Skip to content

Cannot access palette of custom variant #224

@sebszyller

Description

@sebszyller

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions