Not all tailwind classes available? #708
-
Hey guys, i'm pretty new to twin and there's a lot that I like about it... however, it seems like some classes arent available when i am using twin macro. In my case, i was trying to use the class 'scroll-p-4'. When i try to use this in my jsx file, it says the class doesnt exist. However, if i use '@apply scroll-p-4;' in my tailwind.css file it works fine. Any ideas? is it something wrong with my config? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
The next major version of twin includes those new classes and is currently in release candidate - follow along in #679 |
Beta Was this translation helpful? Give feedback.
-
@davebb16, I am also struggling with the same issue. Especially for custom colors defined within the tailwind CSS config. Twin macro cannot pick those up. Some other colors like "styled-components": "5.3.5",
"tailwindcss": "3.1.8",
"twin.macro": "2.8.2" Everything else is pure 🧡. @ben-rogerson, thank you for this package man! Edits
|
Beta Was this translation helpful? Give feedback.
The next major version of twin includes those new classes and is currently in release candidate - follow along in #679