design-tokens
design-tokens copied to clipboard
Plugin throws an error if variable name includes `%` sign
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.
Removing percent sign resolves the problem
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.
This issue got resolved with an update to 6.10.3 for me.