News for hackers. Stuff that matters.
Re:Tailwind UI by mcbetz on Wednesday February 26, 2020 @12:30PM (#22425143)
You can do this with Tailwind as well: https://tailwindcss.com/docs/extracting-components

// in JS, then build .btn-blue { @apply bg-blue-500 text-white font-bold py-2 px-4 rounded; }

Re:Tailwind UI by terenceng2010 on Wednesday February 26, 2020 @01:19PM (#22425646)
This feature makes it a very progressive library for various stages of development. Inline earlier, then gradually extracting the style for reuse in later stage. Besides, their documentation is really good for one to learn those newer css concept.
Re:Tailwind UI by SahAssar on Wednesday February 26, 2020 @03:28PM (#22426961)
In that secenario why even use tailwind? Why not just normal css?