Design tokens

Design tokens store style values like colors, typography, spacing, and other visual attributes. These values enable designers and developers to communicate in a more structured and efficient manner, by providing a common language that they can both understand.

Naming

Tokens name all follow the same structure to make it easier to use and understand:

The name of a token will always display the category it is is, whether it's a color, a border, a radius... We then go to the more precise element of the token (this is specific to every token).

Learn

Code

A boilerplate is available on GitHub to try and learn how to use our tokens.

Design

You can download the Tokens Studio plugin for Figma and follow their guide to link your Figma with GitHub. Once linked, you will see all tokens available. To make sure your tokens are applied, the property of the token will be displayed at the bottom of the right sidebar under "Plugin".