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

2894 20 gradients inside variable creation should only use variables if setting is on #2910

Closed robinhoodie0823 closed 1 week ago

robinhoodie0823 commented 1 week ago

Why does this PR exist?

Current plugin does not respect export options in case of creating styles of linear gradient color tokens.

Closes #2894

What does this pull request do?

Updated the creating styles for linear gradient tokens logic to respect the export setting.

Testing this change

Additional Notes (if any)

https://github.com/tokens-studio/figma-plugin/assets/103296157/e29322a6-1145-4489-8adf-d1470dbdb2a4

changeset-bot[bot] commented 1 week ago

⚠️ No Changeset found

Latest commit: cb2c1d0f5c4ff2840bb8ab60e31472301b1f190e

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