resolve_theme_tokens
Retrieve actual Tailwind design tokens for a given namespace to ensure generated components use only existing theme values.
Instructions
Queries the resolved Tailwind CSS theme for a specific namespace and returns all design tokens. Use before generating components to discover what colors, spacing, or font values actually exist in this project. Example namespaces: 'colors', 'colors.brand', 'spacing', 'fontFamily', 'fontSize', 'screens'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Optional substring filter on token names | |
| namespace | Yes | Dot-path into the theme (e.g. 'colors', 'colors.brand', 'spacing') | |
| config_path | Yes | Absolute path to tailwind.config.js or tailwind.config.ts |