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

Custom theme colors breaking MuiButton in Material UI v6 #43810

Open
sprietNathanael opened this issue Sep 18, 2024 · 0 comments
Open

Custom theme colors breaking MuiButton in Material UI v6 #43810

sprietNathanael opened this issue Sep 18, 2024 · 0 comments
Assignees
Labels
bug 🐛 Something doesn't work customization: theme Centered around the theming features priority: important This change can make a difference regression A bug, but worse status: waiting for maintainer These issues haven't been looked at yet by a maintainer v6.x

Comments

@sprietNathanael
Copy link

sprietNathanael commented Sep 18, 2024

Steps to reproduce

Link to live example: not working with Material UI v6 but working with Material UI v5.

Steps:

  1. Create a custom palette colors
  2. Apply it on an Icon Button to check it works
  3. Apply it on a Button, this does not work

Current behavior

The color is not applied and the hover effect is broken

Expected behavior

The color should be applied and the hover effect working

Context

Add a custom color to the theme's palette and apply it to a button

Your environment

No response

Search keywords: theme colors button

@sprietNathanael sprietNathanael added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Sep 18, 2024
@zannager zannager added the customization: theme Centered around the theming features label Sep 18, 2024
@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work priority: important This change can make a difference regression A bug, but worse labels Sep 19, 2024
@oliviertassinari oliviertassinari changed the title Custom theme colors breaking MuiButton in MUI 6.1 Custom theme colors breaking MuiButton in Material UI v6 Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work customization: theme Centered around the theming features priority: important This change can make a difference regression A bug, but worse status: waiting for maintainer These issues haven't been looked at yet by a maintainer v6.x
Projects
None yet
Development

No branches or pull requests

4 participants