Theme Color generator api

Does anyone know where I can access the api to generate the theme colors? I’d like my users to be able to be able to choose their own

I’m talking about this

The color generator itself is using JS to calculate those values.

If you want to have a theme that users can set, you’ll need to find a way to save those values to local storage or something similar to persist it through out the app

1 Like