plugin-samples icon indicating copy to clipboard operation
plugin-samples copied to clipboard

Styles-to-variables error

Open nicolatrabace opened this issue 2 years ago • 1 comments

When I try to run the plugin, I get this error.

1 2

nicolatrabace avatar Jun 23 '23 12:06 nicolatrabace

Hello! I believe the root cause of this issue stems from having multiple styles associated with the same "token" name. To avoid a repeat of this incident, we can rectify the tokenData by appending a numerical suffix to the token style names. That being said, I have devised an alternate solution that may be of interest to you. If you would like to check it out, I have already opened a PR #150 for your convenience. Thank you for bringing this to our attention, and please don't hesitate to reach out if you require further assistance. Have a great day!

JonatasT avatar Sep 26 '23 06:09 JonatasT