Comment

Comment by damnencryption

You can use postcss and @apply tag to compose single classes that you can use in your html code like .btn-blue

.btn-blue {

@apply py-2 px-5 flex items-center bg-blue-500 text-white rounded

}

So I don't really see that as a problem. You are supposed to refactor your styles later to be more reusable. What tailwind provides is fast iteration and design. I love that.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton