News for hackers. Stuff that matters.
Re:Why Tailwind CSS Won by troupo on Wednesday August 16, 2023 @10:14AM (#37147335)
> "blue-500" becomes --blue-500. That's it.

Of course it's not "it".

Now in every class that needs it, you also need to add

  {
    ... other styles...
    background-color: var(--blue-500);
  }
And then you need to apply that class
Re:Why Tailwind CSS Won by emmacharp on Wednesday August 16, 2023 @04:04PM (#37152922)
How is that different than writing "bg-color-blue-500" in every component that needs it?

As for the class, it's the name of the component, the same name you give to the component file. Does it really add that much work?

Correct me if I'm wrong but as I see it, that's literally a couple of seconds of "work".