extract_tokens_from_tailwind
Extract design tokens from Tailwind CSS configuration files to create universal theme values for cross-platform design systems.
Instructions
Parse a Tailwind config and extract theme values into universal design tokens
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"config": "<config>"
},
"name": "extract_tokens_from_tailwind"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | The contents of a tailwind.config.js or tailwind.config.ts file |