You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can decouple the dependency between the Figma frame name and its corresponding token type to enhance the configuration file. Currently, the Figma frame must be named exactly as the token we want to parse.
For example, the current configuration looks like this:
I propose modifying the configuration to use an array of objects that map the frame names to their respective token types. This approach provides more flexibility and clarity:
This change will allow us to explicitly define the relationship between frame names and token types, making the configuration more intuitive and reducing potential errors caused by naming dependencies.
The text was updated successfully, but these errors were encountered:
izm20
changed the title
Remove Figma Frame name - Token Type dependency
Remove dependency between the Figma frame name and its corresponding token type
May 30, 2024
We can decouple the dependency between the Figma frame name and its corresponding token type to enhance the configuration file. Currently, the Figma frame must be named exactly as the token we want to parse.
For example, the current configuration looks like this:
I propose modifying the configuration to use an array of objects that map the frame names to their respective token types. This approach provides more flexibility and clarity:
This change will allow us to explicitly define the relationship between frame names and token types, making the configuration more intuitive and reducing potential errors caused by naming dependencies.
The text was updated successfully, but these errors were encountered: