Week 1: inventory before architecture
The county site had a decade of accumulated theme CSS — four button styles, three alert patterns, and a grid nobody remembered writing. Before touching USWDS we cataloged every visible component: forms, alerts, tables, headers, cards. Roughly 80% of the page surface mapped onto fifteen distinct patterns, which became the migration backlog.
Weeks 2–3: tokens before components
We resisted reskinning first. Instead we extracted the county brand — colors, fonts, spacing habits — into USWDS theme tokens. One Sass settings file replaced hundreds of hard-coded values. The site looked subtly wrong for two weeks while components still ran old CSS, but every component we migrated afterward inherited the correct brand for free.
Weeks 4–5: component replacement in dependency order
Forms first — the county lives on service forms, and USWDS form controls fixed label and error-state problems immediately. Then alerts, buttons, and the header/identifier pair. Each component shipped behind a flag: old template for untouched pages, new SDC for migrated ones. That let us move section by section instead of a big-bang cutover.
Week 6: delete the old CSS
The most valuable week. Removing 4,000 lines of legacy styles exposed every page still calling dead classes — a short punch list, not a rewrite. Final Lighthouse runs showed the accessibility score jump twenty points, almost entirely from inherited USWDS semantics: real labels, real buttons, working focus states.
What we would do differently
We would write the inventory down as a migration matrix on day one — component, pages affected, USWDS equivalent, owner. And we would have editors test migrated forms earlier; their feedback on the new error messages changed two components before launch. Planning a similar retrofit? It is exactly the kind of scoped work our fixed-scope packages are built for.