Improving site performance by shipping more CSS
GitHub migrated its Primer Design System and the github.com codebase from styled-components CSS-in-JS to CSS Modules, removing runtime styling costs on client and server.
GitHub migrated its Primer Design System and the github.com codebase from styled-components CSS-in-JS to CSS Modules, removing runtime styling costs on client and server.
Design system teams can build their own "Preset annotations": Figma annotation components that carry accessibility details not conveyed visually, in component properties, or in code.
Accessible design system components don't guarantee accessible designs: heading hierarchies break when components are composed, alt text and labels depend on context, and Figma components can't convey implementation details like link-vs-button or form submission.
GitHub's accessible file tree models Windows File Explorer's tree view behavior, since that is what many desktop screen reader users already know.
GitHub rebuilt code search and code view to remove accessibility barriers that pushed screen reader users toward raw files.
GitHub's Primer design system fixed hundreds of color contrast violations across light and dark modes and all themes by changing its foundational color tokens (Primer Primitives) rather than individual components.
GitHub's QueryBuilder is a combobox-based search input built to stay accessible while supporting per-character styling, suggestions with different actions, and grouped results.
GitHub moved from jQuery to native Web Components starting in 2014 and now ships dozens of custom elements such as <include-fragment>, <details-dialog> and <relative-time>.