Hasty Briefsbeta

Bilingual

Boss-CSS: I created another "CSS-in-JS" lib

4 hours ago
  • #CSS-in-JS
  • #Frontend Development
  • #Web Design
  • The author shares their 22-year journey with CSS, evolving through various methodologies and frameworks like LESS, SASS, BEM, CSS Modules, and Tailwind, each with its strengths and weaknesses.
  • They highlight frustrations with Tailwind, including its subset limitations, naming conventions, dynamic styling challenges, and mobile-first approach, leading them to seek a more native CSS experience.
  • The creation of Boss CSS is motivated by a desire for a polymorphic CSS-in-JS solution that combines the best features of past tools, offering multiple syntaxes (prop-based, class name, object-based) and extraction strategies (inline-first, class name-first, fully runtime).
  • Boss CSS emphasizes CSS parity, avoiding custom syntax to reduce learning curves, and supports a powerful plugin system, CLI tools, and AI readiness for enhanced developer experience.
  • Features include design tokens, responsive design with breakpoints, React Native support, and the ability to work alongside Tailwind, making it a versatile tool for various project needs.
  • The author acknowledges Boss CSS's current state as an early Alpha, with some rough edges, and expresses hope for community engagement to refine and expand its capabilities.