Hacker News new | past | comments | ask | show | jobs | submit login

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}
  />



So 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"
  >




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: