Ability to 'Hide from publishing' and Variable scoping for tokens #2300
Labels
Figma variables
icebox
Will be picked up later
🩵 Migrated to Featurebase
Archive this issue and head to featurebase to follow
💡request
Community feedback
variables-m2
Issue:
When creating or editing a token in the plugin, it is not possible to granularly scope the purpose of the tokens for Figma Variables. Users are also not able to specify which variables should be hidden from publishing.
Definition of done
In the creation modal add a multi-select input where users can select available scopes for the following token types:
A color token will have the following scopes available:
A number or dimension token will have the following scopes:
Automatically scope tokens that are of type borderRadius to the corner radius scope silently. Only if a user changes this scope would we set it to something differently (if a variableScope property is present)
Based on the selected scopes when the token is created as a variable, the created variable will have the selected scopes checked.
The selected scopes will live in the metadata of the token.
This will be a pro feature.
For all tokens that can be created as variables:
add a checkbox that toggles the visibility of variables being published. On creating variable from the token this setting will be set on the variable
Design
Walkthrough
CleanShot.2023-10-04.at.18.04.41.2-converted.mp4
Original Issues:
#2193
#2194
The text was updated successfully, but these errors were encountered: