-
-
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
Add support for stroke weight and opacity variables #2414
Comments
### Why does this PR exist? Fixes #2414 Figma recently added support for binding variables to stroke weight and opacity (among others). This PR adds support for that. ### What does this pull request do? Integrates our already used `tryApplyVariableId` to the stroke weight and opacity properties. ### Testing this change Create a dimension token, right click it and set `border width` to any of the properties. Make sure that that dimension token exists as a variable ### Additional Notes (if any) Merging into `release-139` as the next major release. <img width="941" alt="CleanShot 2023-12-28 at 01 11 11@2x" src="https://github.com/tokens-studio/figma-plugin/assets/4548309/4a9812df-f1f9-492f-8011-d261e5070460">
Will be part of 2.0 |
@six7 @keeganedwin will 2.0 also cover layout grid and effects elements per the Dec 6 2023 Figma release?? |
We aim to support effects and effect styles as well, that one is tracked here: #2443 Layout grids will likely not make it, given we dont support those yet at all (and imo there are more important new token types to tackle) |
Added to Featurebase Roadmap- ❖ 🚧 ❇️ Variables in stroke weight and opacity |
Figma recently released new properties to which we can apply variables:
We should make sure that when users apply a token that has a connected variable, we apply that variable for users.
The text was updated successfully, but these errors were encountered: