If you rename color.core.blue to color.global.blue, DSM will change the value of color.brand.primary to color.global.blue automatically.
Creating a token reference
To create a token reference (often called an “alias”), enter the name of the referenced token in the value field. If the referenced token already exists, select it from the auto-complete drop-down and click the save icon ().
After creating the token reference, it will appear as a link in the Value column. Hover over the link to see the current value of the referenced token. If the referenced token is defined more than once (e.g., to support themes), the hover state will show all possible values.
Viewing and editing JSON
Editing tokens in JSON is helpful when you need to:
Add tokens in bulk. You can quickly do so by copying and pasting a set of tokens from an existing .json file.
Add token attributes. You can add any type of metadata to tokens in the JSON editor. Viewers can then access the attributes by selecting the table and clicking View in JSON. In the future, you’ll be able to add custom columns to surface custom attributes in the table view.
Change token names in bulk. For example, if “core” changes to “global”, you can change the “core” node in JSON to “global” (instead of individually editing multiple tokens).
DSM will not propagate token name changes nor convert deleted token references to values as it does in table editing mode. The editor will need to ensure the validity of the tokens structure.
To edit tokens in JSON mode:
Select the tokens table and click Edit JSON.
Make the necessary edits and click the save icon ().