-
-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce Variable Scopes for Tokens #2194
Comments
@LukeFinch mind taking on design work for this for the upcoming Variables M2 work? Together with #2193 |
@six7 What do you think about having a setting to auto-scope variables? Any time I create a border-radius token - it should by default only appear in the border-radius option in Figma |
I love it! Helps reduce complexity and i think most users will want that! We'd still want to show the input though, for those where we cant scope automatically? I guess if this is on and you edit a borderRadius token this could be disabled? |
Yeah - either we could deactivate the input (maybe with a link to settings) or, this option could just tick the scope input by default, and still let users untick it |
Recap from yesterday's discussion on this: Let's try to see if we can get away without a setting, and automatically scope tokens that are of type One thing we should still add to the shaping here is how this would look like in code. I imagine the |
Closing this ticket as this is covered for individual tokens in #2300 |
Is your feature request related to a problem? Please describe.
Currently, when creating tokens in Tokens Studio, there is a limitation in scoping options. Users are unable to specify the exact purpose of a token.
Describe the solution you'd like
An enhancement to Tokens Studio that introduces more granular scoping options.
The text was updated successfully, but these errors were encountered: