mark-nicepants / variables2json-docs

18 stars 2 forks source link

Not displaying root alias when exporting to JS #11

Open lewbam opened 9 months ago

lewbam commented 9 months ago

I have a Figma file with my root variables, then a component file which uses semantic variables that reference route variables. When I try to export the semantic variables to JS, it references the hex code instead of the route variable name. Then if I select 'use root alias' it then replaces the semantic variable name with the root variable name and not the hex code.

Is this a bug and this root variable name should be replacing the hex code when that option is selected?