Skip to content

Automate Token Generation #171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cerupcat opened this issue Feb 6, 2025 · 1 comment
Open

Automate Token Generation #171

cerupcat opened this issue Feb 6, 2025 · 1 comment
Assignees

Comments

@cerupcat
Copy link

cerupcat commented Feb 6, 2025

It would be nice to have an option of automatically creating component tokens.

Essentially, select a component or component set, loop through the layers and anything that has a binding to a variable (eg. color, spacing, etc), a component token is created for that layer + property.

This would save time not having to select each individual layer and setting what properties should be tokenized.

@Natko
Copy link

Natko commented Feb 21, 2025

Hey @cerupcat, thanks for trying out the plugin and for the feedback!

We discussed your suggestion internally and agreed that it should be implemented. We are working on a new flow that will reduce the manual mapping you mentioned.

Biggest reason why we didn't do it in the first place are all the "organizational" groups or frames in Figma that aren't needed to developers in the output, but are used by designers. Will try to do some detection there and reduce the noise on the initial screen.

@Natko Natko self-assigned this Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants