CSS, Design Systems & Developer Experience
summary
Claims that a design system can make CSS scalable and performant get tested with concrete choices: GitHub moves from many utility class names to a React library called primer components (over 30 components) to stop bundle growth, reduce custom CSS, and encapsulate styles. The implementation uses styled-components and styled-system, a theming scale, and a “flexibly strict” API; a later refactor accepts a little duplication and improves readability. Results: fewer bespoke styles, easier cross-repo updates, and predictable theming.
AI-written summary · about
chapters (5)
related talks
32mDesign System APIs and the Developer Experience
34mCSS in React
47mThe road to styled components, and the road ahead
22mStyled Components
31mWhat goes into building a design system
31mThe road to <💅> styled-components" CSS in component-based systems"
12mDesign Systems-Revamping Products for Consistent UIs
30mDynamic Styling Systems with React
