-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[SelectField] selected item color is pink while styles are set to other color #4481
Comments
I had the same problem and to fix it I simply modified the muiTheme import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
const muiTheme = getMuiTheme({
palette: {
accent1Color: 'rgb(0, 84, 129)',
secondary2color: "rgb(0, 84, 129)"
},
});
render(){
return (
<MuiThemeProvider muiTheme={muiTheme}>
................
</MuiThemeProvider>
)
} |
Will it make a lot of side effects on other elements too? Is it possible to wrap single element with |
You wrap it on a single Component if you don't want it to mess with your whole application. |
@liesislukas This is done so that the selected option is known. I don't think the selected item should retain it's color |
@aahan96 there should be an option for that or workaround documented what @davidebarros mentioned here |
Problem description
selected item has pink color even if it has extra styles setting color.
when collapsed coloring is correct:
Steps to reproduce
Versions
The text was updated successfully, but these errors were encountered: