Token aliases are also great for interactive state changes e.g. a hover state on an icon. I have brand colors mapped to active and hover state on icons for example... For the designers benefit I can refer to the interaction in the alias name e.g. icon-hover, icon-disabled etc.... Which makes it easier for the designer to swap out the colors for different interactions.

I would also encourage you push the tokens to GitHub (this will handle your versioning and visually diffing) and I would use style dictionary to sweeten the deal for developers instead of passing them raw JSON as style dictionary will do the translation for you for various development needs.

Responses (1)