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

[docs] Full Tailwind v3 compatibility #1185

Merged
merged 9 commits into from
Dec 20, 2024

Conversation

vladmoroz
Copy link
Contributor

@vladmoroz vladmoroz commented Dec 19, 2024

Offending styles → v3/v4 compatible styles (don't make my mistakes!):

  • outline-0 → outline-none
  • outline → outline outline-1
  • outline-2 → outline outline-2
  • [[data-starting-style],[data-ending-style]]:whatever → data-[starting-style]:whatever data-[ending-style]:whatever
  • pseudo:-z-1 → pseudo:z-[-1] (I'm sure the first one should work in v3, but it doesn't? Might be a v3 bug?)
  • translate-1/2 → translate-x-1/2 translate-y-1/2

Also fixed the issue when the CDN version of Tailwind was unable to pre-render the styles of unmounted components, which resulted in messed up animations

@vladmoroz vladmoroz linked an issue Dec 19, 2024 that may be closed by this pull request
@mui-bot
Copy link

mui-bot commented Dec 19, 2024

Netlify deploy preview

https://deploy-preview-1185--base-ui.netlify.app/

Generated by 🚫 dangerJS against e2f1e45

@vladmoroz vladmoroz added the docs Improvements or additions to the documentation label Dec 19, 2024
@vladmoroz vladmoroz merged commit e04f425 into mui:master Dec 20, 2024
23 checks passed
@vladmoroz vladmoroz deleted the tailwind-v3-compat branch December 20, 2024 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[docs] Properly indicate Tailwind version
3 participants