In Supernova, you can create an alias to link one token to another token definition. When the value of one token changes, any tokens with an alias to it will also change. Aliases can be helpful for communicating the specific application of a token in your designs (i.e.
A reference token is a single or set of tokens that contain primitive values that other tokens refer to. You may already refer to them as "base" or "global" tokens in your design system.
An alias links a token value to another token's value (a reference token).
Locate the token you would like to create an alias for and click
Edit from the token menu
In the value section, click the
Create alias icon to create an alias
Select the token you would like this alias to reference
In the case that you would like to create a batch of aliases at once, for example if you use a set of "base tokens" that your design system relies on, you can specify the base token here prefix or path and automatically locate and link all other tokens that match.
For example, if my tokens are located in the group structure
BASE/base-100, I can specify
BASE as the path for my reference tokens.
On the tokens page, in the lower left corner, click the
Create aliases button
In the Create aliases dialog, enter one or more prefixes (or paths) to your reference tokens
Create aliases to confirm
In the case that you have multiple source files for your design system, it is possible to create a token alias that references a token in another of your linked files.
If one of these files becomes unlinked, the references will be removed.