Course · 58 lessons · 223 min of video
Design Tokens Mastery
Design tokens end to end: fundamentals, mapping, naming, Figma Variables, Tokens Studio and working with AI agents, with checklists and templates.
What you'll learn
- ✓What design tokens are, how token tiers work and why scales matter
- ✓How to map and document the tokens your system already has
- ✓A naming structure your designers and developers can both read
- ✓Figma Variables in practice: collections, modes, scoping and libraries
- ✓Tokens Studio end to end: sets, themes, math, Git sync and Style Dictionary
- ✓AI agents on your tokens: rules file, naming, audits, Figma variables, parity and pipeline checks
About this course
Tokens are the shared language between design and development. This course starts with the fundamentals and builds to advanced workflows in both Figma Variables and Tokens Studio. There is no single right way to structure tokens, so each part shows several approaches and when each one fits your team. The newest chapter covers AI agents: how to hand your tokens to an agent, then name, audit and sync them with a review at the end. It is a living course: new lessons get added as the tools change, and you can suggest them.
1. All about design tokens
- 01
Intro
Who I am, why tokens matter for multi-brand design systems, and the layer picture to keep in mind through the whole course.
- 02
What is a design token
What design tokens are, what every token is made of, and why named values beat hard-coded ones in a design system.
- 03
Purpose of design tokens
The six jobs design tokens do, from capturing design decisions to syncing with code and powering themes for brands and platforms.
- 04
Token Types and Categories
The two ways to group design tokens, by abstraction and by structure, and how each token type is written in JSON.
- 05
Token hierarchy
How one color climbs from a hex code to primitive, semantic and component tokens, plus computational, adaptive and composite tokens and aliases.
- 06
Token scales
Real token scales that went wrong, and why a 100 to 1000 numeric scale leaves room to add steps without renaming.
- 07
File format
What a design token JSON file looks like and how Style Dictionary turns it into CSS, Android, iOS and JavaScript.
- 08
Workflow - Design tokens pipeline
Four ways to automate design tokens from Figma to code, with the steps, pros and cons of each pipeline.
- 09
Visualize design tokens
See how your tokens connect with Tokens Studio's visualization flow and JSONCrack, plus Adobe's Spectrum token visualizer.
- 10
Design tokens Cheatlist
All the info merged into one design tokens cheatlist, ready to download as a PDF.
2. Mapping design tokens
- 11
Documenting design tokens
Document tokens in Google Sheets, Airtable or Figma, with the trade-offs of each, from manual tables to linked records and automations.
- 12
Design Tokens Inventory (Google Sheets)
An example design tokens inventory in Google Sheets to use as a reference for your own token documentation.
- 13
Design Tokens Inventory (Airtable)
Two example Airtable bases for your design tokens inventory, a full one and a simple one, ready to copy into your workspace.
- 14
Creating Design Tokens Checklist
Two checklists for moving a component to tokens: review the component, then confirm it's done. Includes a Google Doc you can copy.
3. Naming design tokens
- 15
How to start
Where I start with token naming: stakeholder interviews, team workshops and a five-component MVP, long before anything gets automated.
- 16
Naming methodlogies
Two common token naming methodologies, BEM and category-based (CTI), and the approach I recommend for small, component-driven, multi-brand and native projects.
- 17
Naming structures
Build a token name from five questions, compare four naming structures from category-first to component-first, and avoid the most common pitfalls.
- 18
Design Token Naming Checklist
My design token naming checklist, as a Google Doc you can copy to your own Drive and use on your system.
- 19
Design token examples (public design systems)
Design token examples collected from public design systems, to give you naming inspiration for your own tokens.
- 20
BONUS TOOL: Design Tokens Generator
Generate primitive, semantic and component token names with my Design Tokens Name Generator, a working prototype in alpha.
4. Figma Variables
- 21
What are Variables
What Figma variables are, how they switch values between modes, and what you can do with them that styles can't.
- 22
Collections
Collections are folders for your Figma variables: what they can hold, how to split them, and how to create your first one.
- 23
Variable Types
The four Figma variable types applied to a real component, plus aliases, groups and a plugin to detach variables copied from other files.
- 24
Scoping
Use scoping and "Hide from publishing" in Figma to control which variables designers see and which properties each variable can affect.
- 25
Add modes
Add modes in Figma, then split variables into theme, brand, language and layout collections so one design switches in several dimensions.
- 26
Apply Variables
Apply color, number, string and boolean variables in Figma, including scoping a new opacity variable and the easy-to-miss boolean toggle.
- 27
Libraries
Set up Figma libraries for tokens, from one file to separate foundation and semantic libraries, and decide what designers can see.
- 28
Figma Variables to code
Two ways to get Figma variables into code without an Enterprise plan: Design Tokens Manager for JSON export, or Tokens Studio with a sync provider.
5. Tokens Studio
- 29
What is Tokens Studio?
Why I think Tokens Studio is the most advanced plugin for design tokens, and how its sync with code differs from Design Tokens Manager.
- 30
Creating Tokens
Add every token type by hand in Tokens Studio, from colors, gradients and modifiers to spacing math, borders, typography and booleans.
- 31
Connecting Tokens (Alias)
Connect semantic tokens to core tokens with aliases, so one change in a core token updates every token that references it.
- 32
Creating Token Sets
Organize tokens into sets and subsets like theme/light and theme/dark, see what sets turn into in Figma variables, and when sets get too complex.
- 33
Math
Derive spacing tokens from one base value with simple formulas, then explore fluid type and space with Utopia, Proportio and Fluid Type Scale.
- 34
Applying tokens
Apply tokens to a Figma component with left-click and right-click: fills, text, borders, spacing and border radius.
- 35
JSON
Edit tokens as JSON in Tokens Studio or VS Code to change values and duplicate tokens much faster than clicking through the interface.
- 36
Creating themes
Create light, dark and brand themes in Tokens Studio, with core tokens as a reference only, and test them on a frame.
- 37
Inspecting tokens
Use Inspect and Deep Inspect in Tokens Studio to see which tokens a layer or a whole component uses, and remap broken ones.
- 38
Connect with GitHub
Connect Tokens Studio to a GitHub repository, push your first tokens, pull changes back, and set up a sync routine for your team.
- 39
Connect with Gitlab
Connect Tokens Studio to a GitLab project, push and pull tokens, and set up a sync routine your whole design team can follow.
- 40
Export to Variables
Export Tokens Studio themes to Figma variables and styles, with the settings I pick and what to do when variables show hex codes.
- 41
Import to Tokens Studio
Bring existing Figma styles or JSON from your code into Tokens Studio, so you don't have to add every token by hand.
- 42
Create multi-dimensional theme
Combine themes, brands and layouts in Tokens Studio, then switch repositories to restyle the same components for another brand or client.
- 43
Transform design tokens - Style Dictionary
How Style Dictionary turns one set of design tokens into platform-specific code, and where it sits in a complete token pipeline.
- 44
Annotate design tokens
Add annotations from the Inspect tab in Tokens Studio to show every token applied to a component, right in your Figma file.
- 45
Repository vs Branch
Compare multiple repositories and multiple branches for organizing your design tokens, and see which approach I recommend.
6. AI and design tokens
- 46
Why your tokens matter more with AI
See why an AI agent reads your token names as instructions, what an agent is, and what the rest of this chapter will set up in your own token project.
- 47
Give an AI agent your tokens
Write one short rules file that tells an AI agent your token structure, naming convention, file locations and never rules, then test that it was read.
- 48
Name tokens with AI
Get an AI agent to propose token names that follow your naming structure, with a reason for each, and save the instructions as a reusable skill.
- 49
Audit your tokens with AI
Run a read-only token audit with an AI agent: the brief, the report format to ask for, and how to read what the first run tells you.
- 50
Connect an AI agent to your Figma variables
What MCP is, three ways to let an AI agent read your Figma variables, the setup for each, and a first read-only task to check what it sees.
- 51
Keep Figma and code in parity
A reusable check where an AI agent compares your Figma tokens with your code tokens and reports what drifted, plus what to do with each difference.
- 52
Let the pipeline check the agent's work
Split the work in three: the agent proposes token changes, a GitHub Actions workflow runs the same checks every time, and you approve.
- 53
What an agent may change, and what it may not
Set limits for an AI agent on your tokens: start read-only, name the decisions it must ask about, keep secrets out of chat and recover from bad output.
- 54
Prompt pack and checklist
Every prompt from this chapter in one place, in the order you use them, plus a checklist to track where you are.


