transform_tokens
Convert design tokens to platform-specific output files (CSS, SCSS, JS, TS, iOS, Android, Compose) using Style Dictionary. Preview changes with dry run mode.
Instructions
Transform design tokens into platform-specific output files using Style Dictionary. Generates CSS custom properties, SCSS variables, JavaScript modules, iOS/Swift code, Android XML, Compose code, etc. Use dryRun=true to preview without writing files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview mode — show what files would be generated without writing them | |
| platforms | No | Platforms to build for (defaults to config). Available: css, scss, js, ts, ios, ios-swift, android, compose |