So my team is working on our design system and we have an idea for a plugin that will create our design tokens by pulling the colour palette and type scale (size + font) values into a JSON document for our developers to utilise in their dev environments. This would be pulling from a “master assets” file living in the cloud documents.
We’ve been reading over the documentation for the plug-ins and it seems like it might be a possibility, but we feel like we’re not getting a very clear picture from the documentation of what all is possible. We’re only trying to pull information out of a file and a lot of what I’ve read in the documentation is about how you get your plugin to interact with a document.
If anyone’s seen anything like this or might be able to point me in a direction in the documentation that would discuss how this might be possible, that would be super helpful as we’re running out of ideas.
I have a diagram of our concept here. Thank you in advance!