design-tokens icon indicating copy to clipboard operation
design-tokens copied to clipboard

Plugin throws an error if variable name includes `%` sign

Open abelgibayev opened this issue 1 year ago • 2 comments

We have variables with % in name for opacity colors and export fails with errors in console. Variables for such cases look like {foundation.color.blue-opacity.15%}, where 15% is the name of the variable. image

Removing percent sign resolves the problem

abelgibayev avatar Sep 06 '23 19:09 abelgibayev

We encountered the same issue. When exporting variables, no action occurred when variables with '%' in their names were present. We found that the export works correctly when '%' signs are removed from variable names.

Strangely, I also tested this issue in a sample file where I created variables that included the '%' sign, and the export worked smoothly there.

refikacimen avatar Oct 13 '23 08:10 refikacimen

This issue got resolved with an update to 6.10.3 for me.

certainlyakey avatar Jan 19 '24 22:01 certainlyakey