Improving site performance by shipping more CSS
Summary
GitHub details migrating from CSS-in-JS to CSS Modules to improve site performance. The post describes an incremental migration strategy with new CSS Modules files, feature flags, and tests to ensure no breakage. By mid-2026, GitHub achieved measurable performance gains and completed the migration across Primer components.