Design Tokens in JavaScript: Style Dictionary Tutorial

LearnCoachAssistWatch on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateDesign Systems5 min

About this video

Shows how to build a design token pipeline in plain JavaScript with Style Dictionary. It flattens a token file, transforms pixel values to rem and hex colors to color channels, and generates CSS, Android and Swift outputs from one source.

What you’ll learn

  • Flatten a design token file into a Style Dictionary build
  • Transform pixel values to rem and hex colors to color channels
  • Generate CSS, Android and Swift token outputs from one source