tokens-studio / figma-plugin

Official repository of the plugin 'Tokens Studio for Figma' (Figma Tokens)
https://www.figma.com/community/plugin/843461159747178978
MIT License
1.32k stars 190 forks source link

2774 spike gradients driven by variables #2884

Closed robinhoodie0823 closed 2 weeks ago

robinhoodie0823 commented 2 weeks ago

Why does this PR exist?

Current plugin can not assign color variables to gradient's color stops due to previous figma plugin does not support it.

Closes #2774

What does this pull request do?

Updated figma plugin has boundVariables field with color field to support color variable assigning to gradient's color stops. Updated gradientStops with color variables Ids in it.

Testing this change

Additional Notes (if any)

https://github.com/tokens-studio/figma-plugin/assets/103296157/35b8d03e-482b-48aa-981d-90dc40667e25

changeset-bot[bot] commented 2 weeks ago

⚠️ No Changeset found

Latest commit: 41bc273d04dc28bc9f4177df49320434863079a1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR