News for hackers. Stuff that matters.
Re:Goodbye CSS Modules, Hello TailwindCSS by tcfunk on Thursday November 04, 2021 @10:13PM (#29114726)
I've been using tailwind in combination with styled components, so that I can easily capture repeated sets of classes. Something like:

  const PostImage = styled(Img).attrs({
    className: `
      duration-100
      transform
      transition-transform
      ease-in
      hover:scale-110
    `
  })``
Re:Goodbye CSS Modules, Hello TailwindCSS by 01brett on Thursday November 04, 2021 @10:20PM (#29114771)
Author here, have you looked at twin.macro?

https://github.com/ben-rogerson/twin.macro