You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario:
If a design token/style property has a value of 0 (a number, not a string) and you have a reference/alias to that value, when you build Style Dictionary says the reference doesn't exist.
fixesamzn#324
Adding proper checking for alias/reference resolution so that 0 is a valid value. Now we check for undefined rather than "truthiness", because 0 is "false".
Scenario:
If a design token/style property has a value of
0
(a number, not a string) and you have a reference/alias to that value, when you build Style Dictionary says the reference doesn't exist.Here is a quick test:
The text was updated successfully, but these errors were encountered: