extract_design_tokens
Extract colors, spacing, typography, and radii from any Figma node tree into a reusable TypeScript tokens file for consistent design systems.
Instructions
Extract all design tokens (colors, spacing, typography, radii) from a Figma node tree into a reusable TypeScript tokens file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Root Figma node ID to extract tokens from | |
| fileKey | Yes | Figma file key from the URL | |
| figmaToken | Yes | Figma Personal Access Token |