delimit_design_extract_tokens
Extract design tokens from CSS, SCSS, or Tailwind config files. Optionally sync with Figma using a file key.
Instructions
Extract design tokens from project CSS/SCSS/Tailwind config.
Works without any API keys (scans local CSS/Tailwind). Figma integration auto-activates when a token is found in: FIGMA_TOKEN env var, or ~/.delimit/secrets/figma.json, or via delimit_secret_store.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| figma_file_key | No | Optional Figma file key (auto-uses Figma API if a token is available). | |
| token_types | No | Token types to extract (colors, typography, spacing, breakpoints). | |
| project_path | No | Project directory to scan. Defaults to cwd. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||