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

🐛[BUG] antd-styles breaking change MUI 5/6 #185

Open
Lyumih opened this issue Dec 27, 2024 · 0 comments
Open

🐛[BUG] antd-styles breaking change MUI 5/6 #185

Lyumih opened this issue Dec 27, 2024 · 0 comments

Comments

@Lyumih
Copy link

Lyumih commented Dec 27, 2024

Both library uses @emotion/react and @emotion/styled library.

Bug: function createStyles(token) - replaced ant token on MUI token theme.
Please fix this, we cann't update MUI to 5-6 version (legacy).

Simple code for reproduce:

image
image

Actualy token in console.log() - It's MUI5 theme , not Ant token
image

Needed token in console.log - ant token (I remove from code).

image

MUI Migration Guide v5 (section with emotions deps). https://mui.com/material-ui/migration/migration-v4/?srsltid=AfmBOor9aEWjy1M68N5Ulh8fW4-Jf7rKmtlqwe1eR6R0uAC2LpbCp0QD#peer-dependencies

Please help, very critical bug

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

No branches or pull requests

1 participant