I created a practice project to show how to export design tokens using Figma Design Tokens plugin in Figma to Github and pull tokens down into a React app, then transform the design token JSON with the Style Dictionary CLI tool into a stylesheet you app can use.
Useful links:
Figma Design Tokens figma plugin: www.figma.com/...
NPM package for Style-dictionary CLI tool with install instructions: www.npmjs.com/...
Style-dictionary github repo: github.com/amz...
Check out my Medium article with more information: / push-design-tokens-to-...
26 сен 2024