Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade tailwindcss to v3 #108

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

oaken-source
Copy link

To prepare for dark mode, it seems useful to upgrade tailwindcss to v2 or v3. I've followed the upgrade guides and prepared two commits, one for the v1 to v2 migration, and one for the v2 to v3 migration.

tailwindcss removed the purgecss dependency with v3, and instead requires a 'content' directive in the config, which is described here:
https://tailwindcss.com/docs/content-configuration

I'm not super sure about that, so it might make sense for someone more experienced to take a look. The rest of the upgrade guide was fairly straightforward. Resulting optical changes seem minimal, the alert boxes are a slightly different shade of yellow, and some grids are spaced a bit differently, that was all I could spot.

@oaken-source oaken-source force-pushed the feature/upgrade-tailwindcss branch from d45b641 to 0077e4f Compare August 11, 2024 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant