Design Tokens in JavaScript: Tiers, Aliases, JSON

LearnCoachAssistWatch on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateDesign Systems5 min

About this video

A short lesson on design tokens in JavaScript using the W3C design tokens format. It covers token tiers, alias chains, and how to find and fix broken aliases, and shows linting for raw primitive values.

What you’ll learn

  • Follow a token alias chain from a semantic role to its primitive value
  • Swap a value underneath a semantic token without changing its consumers
  • Catch broken token aliases and lint for raw primitive values