Migrate

Use migrate to analyse Tailwind-style classes and plan an EmilyCSS migration safely.

Current behaviour

The migrate command is report-only. It does not edit templates. It highlights recognised classes, unknown classes, and likely mappings so teams can plan changes in stages.

Commands

npx emily-css migrate
npx emily-css migrate --import-colours

Practical rollout pattern

  1. Generate current EmilyCSS output and manifest
  2. Run migrate on a limited template subset first
  3. Review unknown classes and token mismatches
  4. Apply changes manually, then run doctor for validation

Next step

Next: Variants for responsive and state prefix behaviour.