Replace Hard-Coded Values
replace_hard_coded_valuesReplace hard-coded design values in code with Optics design tokens for consistent theming. Use autofix to apply changes automatically.
Instructions
Replace hard-coded values with design tokens
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Code containing hard-coded values | |
| autofix | No | Whether to automatically fix the code (default: false) |