Is it possible to import color variables?

I am working with the Radix color library, found here Radix Colors, and I would like to be able to use the colors in Sketch without having to manually create the color variables for every color option.

It would be great to have an option to import a JSON file or any format really, and have it create the color variables.

Hi Anthony, welcome to the Forum!

Thanks for posting and it’s great to have you here! There’s a plugin that I think fits your needs: Sketch JSON color palette importer. I just tested it with Sketch 100 and it works like a charm, importing all the colors in the JSON file to color variables in your document.

All you need to do is format the JSON document as mentioned in the plugin’s Description section and you’re good to go!

I hope this helps :raised_hands:

1 Like

Thanks for this! Exactly what I was looking for.

For any future internet travelers, here is a Sketch file that has them imported.

Radix Colors.sketch (394.7 KB)

3 Likes

Amazing! Thanks for sharing Anthony! :smiley: