-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
MuiTouchRipple style overrides aren't applying #30501
Comments
|
I'm themeing an app and want to use a custom ripple colour over components on mouse down. |
I suggest you use |
@meds Could we close the issue? Has your problem been solved? |
Maybe not the best place to ask this, but I was thinking to override ripple's colors to fix a11y contrast issues. Current mechanics of inheriting color and applying transparency makes many elements fail WCAG contrast requirements on focus. What is the official MUI's team position on this issue (couldn't find it anywhere)? |
I've been struggling with this for a few hours. |
@eGene I guess it would be great to talk about this matter in a different issue! Do you want to open it? |
Created #31372. |
Duplicates
Latest version
Current behavior 😯
With the following defined inside theme:
`{
components: {
}`
I'm not seeing the ripple colour on buttons change and I odn't see where the colors specifieid above apply to Muitouchripple on any level
Expected behavior 🤔
Colours defined in MuiTouchRipple override should apply to buttons.
Steps to reproduce 🕹
Steps:
or
View sandbox: https://codesandbox.io/s/material-ui-v5-theme-sandbox-forked-u228v?file=/src/Demo.tsx:0-1773
Context 🔦
No response
Your environment 🌎
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: