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

[SelectField] Unable to style selectField/dropDownMenu icon in custom theme #6427

Closed
ralphsmith80 opened this issue Mar 23, 2017 · 1 comment
Labels
component: select This is the name of the generic UI component, not the React module!

Comments

@ralphsmith80
Copy link

Description

I would expect to be able to have default SelectField styles in the theme with the following syntax.

selectField: {
  iconStyle: {fill: 'rgba(0,0,0,0.54)'},
},

Since that didn't work I dug a little farther and expect this to work.

dropDownMenu: {
  iconStyle: {fill: 'rgba(0,0,0,0.54)'},
},

That also didn't work and I've ended up using this code with doesn't seem to break other things I'd expect to break like underline color.

dropDownMenu: {
  accentColor: 'rgba(0,0,0,0.54)',
},
  • Material-UI: 17.1
@oliviertassinari oliviertassinari changed the title Unable to style selectField/dropDownMenu icon in custom theme [SelectField] Unable to style selectField/dropDownMenu icon in custom theme Mar 26, 2017
@oliviertassinari oliviertassinari added the component: select This is the name of the generic UI component, not the React module! label Mar 26, 2017
@je553
Copy link

je553 commented Aug 15, 2017

Agreed. Wondering why I can't establish selectField's defaults in the theme object like I can with other components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: select This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

3 participants