Per-component migration
For each Primer component, the team added a CSS Modules file that translated the old styles. A feature flag switched the component between old and new styles. Existing visual regression tests checked that the snapshots matched. The rollout went to the internal team, then GitHub staff, then all users.