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

[Stepper] Allow customization of the icon text color #6901

Closed
mnogueron opened this issue May 19, 2017 · 1 comment
Closed

[Stepper] Allow customization of the icon text color #6901

mnogueron opened this issue May 19, 2017 · 1 comment
Labels
component: stepper This is the name of the generic UI component, not the React module!

Comments

@mnogueron
Copy link

Description

It would be interesting to have the possibility to change the color of the text in the step lens as we can do with the icon color, directly from a muiTheme.

Images & references

Currently only these attributes are available to change the style of the lens.

stepper: {
      ...,
      iconColor: palette.primary1Color,
      hoveredIconColor: grey700,
      inactiveIconColor: grey500,
      ...
},

It would be interesting to add these:

stepper: {
      ...,
      iconColor: palette.primary1Color,
      hoveredIconColor: grey700,
      inactiveIconColor: grey500,
      iconTextColor: ... ,
      hoveredIconTextColor: ... ,
      inactiveIconTextColor: ... ,
      ...
},

So that we could be able to support better contrast between text and primary color.

stepper_icon
(left: original, right: higher contrast with black text)

@oliviertassinari oliviertassinari added the component: stepper This is the name of the generic UI component, not the React module! label May 19, 2017
@Suresh-Lakum
Copy link

Can I have sample of how to use it?

I am right now using it when creating theme, but seems no effect.

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

No branches or pull requests

3 participants