-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
2754 20 trying to apply a composite token that is a reference to another token fails if the referenced token comes from another set #2784
2754 20 trying to apply a composite token that is a reference to another token fails if the referenced token comes from another set #2784
Conversation
|
@@ -330,4 +331,4 @@ class TokenResolver { | |||
|
|||
const defaultTokenResolver = new TokenResolver([]); | |||
|
|||
export { defaultTokenResolver }; | |||
export { defaultTokenResolver }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Linebreak
if (resolvedTokenValue.resolvedValueWithReferences) { | ||
resolvedValueWithReferences = resolvedTokenValue.resolvedValueWithReferences; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a test case that covers this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
Why does this PR exist?
Current plugin does not successfully affect token to figma if it has multiple level token references.
Closes #2754
What does this pull request do?
Added previous
resolvedValueWithReferences
to the token.Testing this change
Additional Notes (if any)
20240521_032431.mp4