Migrate Tailwind v3 classes to v4
tailwind_migrateConvert Tailwind v3 class names to v4 equivalents and catch silent scale renames like shadow-sm, rounded, and blur when porting v3 code to v4.
Instructions
Map v3 class names to their v4 equivalents, including the scale renames whose meaning changed silently (shadow-sm, rounded, blur and the rest). Use this when porting v3 code to v4.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Absolute path to the project to inspect. Defaults to the server's working directory. Use it when the Tailwind project is not the current working directory. | |
| candidates | Yes | The v3 class list to migrate, e.g. ['shadow-sm', 'bg-opacity-50', 'flex-shrink-0'] |