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.
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:
Paletteobject/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.