Closed robinhoodie0823 closed 1 month ago
Latest commit: f743f4a59cc502a4b806f76776199626a7c0e1ed
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.
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
Why does this PR exist?
Current plugin does not create local variable collections based on selected token sets. Because the
createNecessaryVariableCollections
function does not accept the parameter structure in case of selected sets.Closes #2837
What does this pull request do?
Updated
createLocalVariablesWithoutModesInPlugin
function to send parameters with the structure whichcreateNecessaryVariableCollections
function can accept to proceed.Testing this change
Additional Notes (if any)
https://github.com/tokens-studio/figma-plugin/assets/103296157/dbacb5e3-2141-4ae0-9996-153375506a9c