AdobeXD / design-system-package-dsp

DSP Documentation
MIT License
336 stars 38 forks source link

Clarify "alias" token value #8

Closed CITguy closed 3 years ago

CITguy commented 3 years ago

Does the value of an Alias Token reference the id or the name of another token?

The examples aren't clear, because the cta-background alias in the example uses "{primary-red}", which is both the id and the name of the referenced Token entity.

demianborba commented 3 years ago

Thanks for the question @CITguy. The extension looks for the name, and if it can't find it, it will look for the ID.