I think the typing in the NPM package is pretty suboptimal currently, and also contains errors. (#34)
Also, not really sure about the labels export? In most cases, you would think of the color being part of a flavor, rather than first selecting the color, then the flavor...
Ideally, I'd like to use TS for a nice API with the JSON exports, and generate the JSON programmatically somehow.
We'd only really need 26 colors * 4 flavors, generate the other formats, then export them in the NPM package.
I think the typing in the NPM package is pretty suboptimal currently, and also contains errors. (#34) Also, not really sure about the
labels
export? In most cases, you would think of the color being part of a flavor, rather than first selecting the color, then the flavor...Ideally, I'd like to use TS for a nice API with the JSON exports, and generate the JSON programmatically somehow. We'd only really need 26 colors * 4 flavors, generate the other formats, then export them in the NPM package.
Currently working on this until I'm happy enough with it to raise a PR: https://gist.github.com/nekowinston/98b363b45e7fbe3256c5ff84a1ed8b07