News for hackers. Stuff that matters.
Re:Why I Love Tailwind by nikivi on Monday December 07, 2020 @09:09AM (#25332208)
Was always curious, why it was Tailwind that won 'utility-first css' and not https://tachyons.io which did this approach first.
Re:Why I Love Tailwind by mxstbr on Monday December 07, 2020 @09:28AM (#25332392)
Exactly! Tachyons was awesome and ahead of its time but its core design system wasn't as well made as Tailwind's is.

Also, to be fair, Tailwind's marketing game is out of this world as well. They are literally some of the best developer marketers on this planet!

Re:Why I Love Tailwind by subpixel on Monday December 07, 2020 @10:07AM (#25332791)
You can create (or recreate) Tachyons using Tailwind, and take advantage of all the bells and whistles that the later offers that the former does not.
Re:Why I Love Tailwind by uxcolumbo on Monday December 07, 2020 @10:10AM (#25332825)
Can you give some examples of what they did marketing wise that helped it being adopted more widely than Tachyons?
Re:Why I Love Tailwind by ediatedia on Monday December 07, 2020 @10:31AM (#25333064)
Adam Wathan actually wrote about it:

https://adamwathan.me/tailwindcss-from-side-project-byproduc...

I think one of the most powerful things was making a course then giving it away - really goes far to boost your prominence as a developer and building those lists.

Re:Why I Love Tailwind by cambalache on Monday December 07, 2020 @10:18AM (#25332907)
They wrote a book that is pretty popular. Thanks to their connections with the Laravel leadership they got Tailwind as a somehow default for the front-end in Laravel. I dont know if it is organic or not, but there are dozens of articles about Tailwind coming up daily in sites like Medium and Dev.to.
Re:Why I Love Tailwind by rendall on Monday December 07, 2020 @10:20AM (#25332934)
Have you seen the trailer for Tailwind 2?

https://youtu.be/3u_vIdnJYLc

Re:Why I Love Tailwind by busterarm on Monday December 07, 2020 @10:04AM (#25332754)
Tailwind is also like half a megabyte minified and zipped vs Tachyons 20kb.
Re:Why I Love Tailwind by config_yml on Monday December 07, 2020 @10:15AM (#25332877)
But who uses all those tokens from the full tailwind build? Maybe if you use the CDN build?

That's why purgecss is builtin. It's dead simple to setup and you'll have only the used classes in your CSS output.

Re:Why I Love Tailwind by busterarm on Monday December 07, 2020 @11:00AM (#25333390)
I agree, I've just seen this kind of thing before and have low expectations of what people will do with it.

Basically I'm expecting people to be lazy and use the full thing. Especially the CDN build.

Re:Why I Love Tailwind by bridgejupiter on Monday December 07, 2020 @11:35AM (#25333729)
I think the biggest thing is documentation. Tachyons has basically none, the only way you would even know that you can do responsive design with it for example is by reading all of the CSS.

Case in point from this very thread:

> i'm trying to find it in the docs - but how do you apply a different border on mobile, tablet and desktop via tachyons?

https://news.ycombinator.com/item?id=25333465

You can't cross the chasm from early adopter tinkerer types to the more mainstream community without teaching people how to use your tool.

Re:Why I Love Tailwind by deltron3030 on Monday December 07, 2020 @02:25PM (#25336032)
I think it's because of the hardcore minimalism of the creators or Tachyons and also Theme UI, it lacks mass appeal because of it. If you dig into Steve Schogers style (the guy behind Refactoring UI and Tailwind aesthetics) you'll see that he's more in the Streamline Moderne camp than Bauhaus minimalism, his stuff looks more "designed" in the sense of how non designers think about good design. Tachyons is kinda invisible..
Re:Why I Love Tailwind by benfrain on Monday December 07, 2020 @11:24AM (#25333621)
Ha, you kids! What about the REAL project that kicked off atomic styling: https://acss.io pioneered by Thierry Koblentz and friends while at Yahoo.

Everything that came since is just a variant, in principle, of that. It never gets the props!

Re:Why I Love Tailwind by corobo on Monday December 07, 2020 @10:11AM (#25332827)
Tailwind creator is mates with the Laravel creator so got a big boost in eyeballs from that. I guess Tachyons didn't have that.

If I can be honest the name is a pain in the arse to remember too

Re:Why I Love Tailwind by jozzy-james on Monday December 07, 2020 @10:27AM (#25333014)
great documentation, good 'outreach' presence around the interwebs from the team, sensible class naming (tachyons can get a little...eh, imo), the build possibilities are quite nice (tho may be as flexible in tachyons...haven't used it in quite some time), responsive everything (mostly), the laravel bump as mentioned - all in all an evolution of previous attempts that resonates better i guess.
Re:Why I Love Tailwind by leftnode on Monday December 07, 2020 @10:18AM (#25332908)
Great marketing (and this is from a huge fan of Tailwind). Marketing, even for OSS projects, is incredibly important.
Re:Why I Love Tailwind by desmap on Monday December 07, 2020 @10:32AM (#25333079)
I still use Tachyons which I find way better. It*s just a css mapper with much saner design decisions.