Skip to content
Glean

Optimizing our CSS at Glean

Aug 10, 20267 min read
Opens glean.com
What the post coversAI, from the source post

This post details Glean's migration from inline styles to vanilla-extract for CSS management.

  • It outlines the survey of CSS frameworks, the decision to choose vanilla-extract due to its zero-runtime overhead and developer experience benefits, and the development of codemods to automate the refactoring of approximately 300 files.
  • The post also discusses the practical benefits of vanilla-extract, such as improved debugging with generated classNames, and the learning curve associated with adopting new CSS practices.
Read the full post on glean.com · 7 min (opens in a new tab)