Software Alternatives & Reviews

Use TailwindCSS prefixes for shared design system components

Tailwind CSS node-sass
  1. A utility-first CSS framework for rapidly building custom user interfaces.
    Pricing:
    • Open Source
    TailwindCSS (Tailwind for short) is a not-uncontroversial choice of tool for projects where hand-crafting CSS selectors that apply to semantically meaningful patterns of HTML elements is not beneficial. We have decided to use it at Culture Amp, the reasons for which deserve an article of their own. At the risk of oversimplifying: if the structure of your UI matches the structure of your codebase (i.e. Visual blocks tend to correspond to software components rather than sections of a document), you might save time and effort by applying styles to your elements directly in those components, rather than by writing CSS selectors that are tightly coupled to those components' implementation. Again, there's a lot more to say here, and I'll try to write it up soon. Let me know if you're keen to read it.

    #Developer Tools #Design Tools #Website Design 868 social mentions

  2. :rainbow: Node.js bindings to libsass. Contribute to sass/node-sass development by creating an account on GitHub.
    For many years, Culture Amp took the second option, and distributed shared components without compiled CSS. This meant that every app that consumed shared components needed to include the necessary CSS build tooling – at that time CSS Modules and node-sass – with a compatible version and configuration. This was relatively easy to set up, but over time proved difficult to maintain. When node-sass was deprecated in favour of (the much faster but slightly incompatible) Dart Sass, this demanded a difficult lock-step migration across all those codebases, which we have yet to achieve. And as new applications have switched to Tailwind for their own styles, they've had to continue to maintain those old build tools in parallel for the shared components' styles.

    #Developer Tools #Design Tools #CSS Framework 3 social mentions

Discuss: Use TailwindCSS prefixes for shared design system components

Log in or Post with