Re:Konsta UI – Mobile UI Components Built with TailwindCSS
by o_m on Friday February 24, 2023 @03:33AM
(#34922306)
Tailwind (CSS) doesn't need a javascript runtime, the browser can run it natively
[ Parent
| on HN ]
Re:Konsta UI – Mobile UI Components Built with TailwindCSS
by nailer on Friday February 24, 2023 @03:45AM
(#34922409)
Tailwind is literally someone else’s PostCSS output.
Re:Konsta UI – Mobile UI Components Built with TailwindCSS
by throwaway29495 on Friday February 24, 2023 @03:49AM
(#34922435)
No, it's your own PostCSS output. At least if you want to only have the definitions you actually use.
Re:Konsta UI – Mobile UI Components Built with TailwindCSS
by nailer on Friday February 24, 2023 @09:48AM
(#34924990)
OK I mean “someone else wrote the mixins” you mean “you ran the compiler and did tree shaking”.
Re:Konsta UI – Mobile UI Components Built with TailwindCSS
by mcluck on Friday February 24, 2023 @04:18AM
(#34922634)
You can write CSS-in-JS style without a runtime https://vanilla-extract.style/
In my opinion, this gives you all of the supposed benefits of Tailwind without all of the noise and annoying opinions that come with Tailwind
Re:Konsta UI – Mobile UI Components Built with TailwindCSS
by satvikpendem on Friday February 24, 2023 @05:00AM
(#34922903)
Their Sprinkles API is beautiful for keeping a design system and code in sync, so much that Tailwind users had to copy it with the CVA library.