-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add nx-
tailwind prefix
#911
Conversation
🦋 Changeset detectedLatest commit: 5ae1bcb The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
cc @B2o5T this is a pretty big refactoring and it will affect some other PRs 🙏 (however this should not break users' code unless they're doing something wrong) |
* add nx- tailwind prefix * update * fix dark mode * add changeset
We need to isolate these classnames in case the website itself also uses Tailwind.
Seems like dark + prefix doesn't always work:changing todark:nx-shadow-[0_-12px_16px_#111]
darkMode: ['class', 'html[class~="dark"]']
fixes it, see tailwindlabs/tailwindcss#5754