Skip to main content

Create, edit and delete design tokens

Vinh
Vinh
  • Updated

You can manage your tokens in zeroheight with Token Manager. The extent to which you can manage your tokens will depend partly on how they are created or imported. Any changes you make to your token set in zeroheight will be automatically saved in zeroheight however your styleguides or links with external systems will not be updated until you publish your changes

Adding tokens

In addition to importing tokens from an external source, you can also create new tokens directly in zeroheight.

  1. In your file, select +Add Tokens

    add-tokens.png
  2. Enter the token name, type, value and optionally a description

    Groups can be created by separating the path with /.  For example base / colors / red

    add-token-modal.png
  3. Click Create token. 

    You have a new token that you can add to your styleguide and your token file.

    add-tokens-finished.png

Editing tokens

You can edit tokens that were created in zeroheight or imported from json or a git provider

  1. In the table, click on the name of the token you want to edit
  2. In the sidebar that opens, edit any of the fields and they will be saved automatically

    Note: The token type cannot be changed, a new token must be created

    token-edit-sidebar.png

Deleting tokens

You can also delete tokens that were created in zeroheight or imported from json or a git provider

  1. In the table, click on the name of the token you want to edit
  2. In the sidebar that opens, click Delete token

    token-delete-sidebar.png
  3. In the confirmation modal that opens, type DELETE and click the Delete button

Publishing changes

After making changes you must publish the token set for them to take effect in both your documentation and in any exports. 
If the source of your tokens is a synced GitHub repo, when you publish your changes you'll have the option to create a pull request in GitHub to update the file there. This is an optional step, you do not need to create a pull request every time you publish changes in zeroheight.

FAQs

What if I delete my token set?

Your tokens will still be in your styleguide even if you delete your token set from the Tokens tab; however, the link to your token set in GitHub is disconnected. If you want to update your tokens in your styleguide, you must delete them and reinsert them. See also:

Are there any limits to the number of token sets I can create?

Yes, with each plan we have different limits which you can find below:

  • Free plan - supports 1 token set 
  • Starter plan - supports up to 3 token sets
  • Enterprise plan - supports up to 10 token sets.
Share this article
Was this article helpful?