Skip to content

Generate library from palette.json file #2

@sgoudham

Description

@sgoudham

The standard for code libraries has changed and code libraries should parse the palette.json file and generate code from its definitions.

Previous examples of this include:

The benefit of this approach is that the Palette definitions are generated, providing confidence that the colours match the Catppuccin palette.

The new library should include:

  • A Palette object/type/etc that gives users access to the same fields as specified in the palette.json file, which should be generated from the file itself.
  • Minimal testing, as the code/palette will have been generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions