3 ms·
A side project I've been trying to find time to work on - a Tailwind/Styled components fusion. So imagine just being able to do this: <Question mt0 t
by danielvaughn 5y ago
A side project I've been trying to find time to work on - a Tailwind/Styled components fusion. So imagine just being able to do this:
<Question
mt0
textCenter
p8={extraPadding}
p2={!extraPadding}
/>
Or you could have another variation, but optimization is more difficult:
<Question
mt={0}
text="center"
p={extraPadding ? 8 : 2}
/>
- akvadrako 5y agoSo https://windicss.org/posts/attributify.html https://windicss.org/posts/attributify.html ? <button bg="blue-400 hover:blue-500 dark:blue-500 dark:hover:blue-600" text="sm white" font="mono light" p="y-2 x-4" border="2 rounded blue-200" >