radix-ui / colors

A gorgeous, accessible color system.
https://www.radix-ui.com/colors
MIT License
1.38k stars 63 forks source link

Programatically generate custom scales #45

Open bogris opened 4 months ago

bogris commented 4 months ago

Is there a way to programatically generate custom scales?

I am building a Figma plugin to add radix colors in a variable collection. Given the target audience (designers), a custom palete generator would be appreciated. At the moment I will process the output of the web page.

I see that my question is a bit of topic as the npm package has only the colors, but I was thinking of an extension or another easy one is a nextJs api route added to the current web app that serves the web generator based on the same JS code...

Thanks, Sorin