Skip to content

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

@Lyumih

Description

@Lyumih

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions