I'd like to override the global .Mui-disabled CSS rule from my theme overrides. I can do it for specific components like this (in Material-UI v4.1.x):
MuiTheme['overrides'] = {
...
MuiMenuItem: {
root: {
...root level overrides,
'&.$Mui-disabled': {
backgroundColor: 'inherit'
}
}
}
}
I'd like to avoid the need to add that to each different component and simply override the .Mui-disabled class rules once. Basically I don't want all disabled items to have the default grey colored background. Is there an easy way to do that from the theme?
Thanks for any insight!