Upgrade Tailwind to version 3 with JIT mode #540
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to work well! I just have a few questions to clarify.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked out the branch locally and I don't think the JIT is working.
I tried adding the example class from the release notes (sm:hover:active:disabled:opacity-75
) to an element in the search page and I was unable to get the opacity to apply to it.
I tried this with and without adding the mode
option from the release notes, it didn't work either way 😕 But maybe I'm using it wrong? Were you able to confirm it was working somehow?
@sarayourfriend I tried the example you mentioned, it worked for me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Not sure why I wasn't able to get it to work previously but it works fine now for me, both in storybook and in the actual app.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Description
This PR upgrades Tailwind to version 3 with a number of accompanying changes
variants
from the configTesting Instructions
Run the Storybook and the dev site. If you notice no changes, that means it's working as it should!
Checklist
Update index.md
).main
) or a parent feature branch.Developer Certificate of Origin
Developer Certificate of Origin