Some Tailwindcss classes not being compiled correctly when using a custom theme
I followed the documentation to build a custom there, everything is working as expected, however I have noticed that some classes just disapear when being compiled in both hot and built mode
npm run dev/build
For instance, using w-24
the class is compiled and applied successfully
same with an arbitrary value like w-[500px]
but somehow it does not compile w-50
weird10 Replies
What could be happening is that since filaments classes are rendered after custom ones, it’s getting overridden again by filament. Not sure if that’s exactly what’s happening here but i had that problem with my plugin. I had to use arbitrary values to get around it.
Here’s the link to where I chatted about this so you can see if this applies to what you are doing: https://discord.com/channels/883083792112300104/970354547723730955/1106060964278829106
w-50 is not a tailwind value
good lord
there's a w-48 and a w-52, but not a w-50, you'd have to make it yourself.
😂
Hahaha! Good catch!
welp
that's that
thanks @awcodes
@awcodes for the win 🥇
thought that phpstorm was lying
looking closely at it
it's telescope 🤦♂️