HD·P2·02 Advanced
Design Tokens & Variables
Tokens turn design decisions into values a system can enforce.
Design tokens store visual decisions such as colour, spacing and type as named values. This course explains token structure, naming, tiers and tooling so teams can keep design and code consistent.
In Development
This course's full module content is being written. The outline below is final, subscribe for updates when it publishes.
LEARNING OUTCOMES
- 01 Define design tokens and their purpose
- 02 Structure tokens in global, alias and component tiers
- 03 Name tokens consistently
- 04 Implement tokens as Figma variables and code
- 05 Plan theming such as light and dark modes
- A token is a named design value used instead of a hard-coded number
- Global tokens hold raw values, alias tokens give them meaning and component tokens bind them to parts
- Names should describe purpose rather than appearance
- Figma variables and platform tokens should come from one source
- Modes such as dark theme swap alias values