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

[palette] Standardize the secondary color #9918

Merged
merged 1 commit into from Jan 19, 2018

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Jan 16, 2018

Looking at the different resources I can gather:

There is no reason for the secondary color to use different color hues than the primary color.
Fix @mbrookes's concern in #9913 (comment)

Breaking change

The secondary color now behaves the same way than the other colors (primary, error). We always use the main tone by default instead of the light tone.
It's unclear if this change is making the implementation follow the specification more closely. The direct win is simplicity and predictability.

@ValentinH
Copy link
Contributor

This exactly fixes the issue I wanted to submit :)

@oliviertassinari oliviertassinari added design: material This is about Material Design, please involve a visual or UX designer in the process component: button This is the name of the generic UI component, not the React module! labels Jan 16, 2018
@oliviertassinari
Copy link
Member Author

oliviertassinari commented Jan 18, 2018

Humm, looking at the other component, I have the feeling that we should be updating the other components too to be consitant.

@mbrookes
Copy link
Member

mbrookes commented Jan 18, 2018

Just had a look - the spec is inconsistent. This is light, for example:

image

https://material.io/guidelines/components/buttons.html#buttons-dropdown-buttons

But in examples 3, 5 & 6 of the color picker, the FAB is dark:

image

https://material.io/color/#!/?primary.color=2196F3&secondary.color=E91E63&view.left=0&view.right=0

@oliviertassinari
Copy link
Member Author

Inbox

capture d ecran 2018-01-18 a 21 20 37

Calendar
capture d ecran 2018-01-18 a 21 21 09

@oliviertassinari oliviertassinari self-assigned this Jan 19, 2018
@oliviertassinari oliviertassinari changed the title [Button] Standardize the secondary color [palette] Standardize the secondary color Jan 19, 2018
@oliviertassinari
Copy link
Member Author

oliviertassinari commented Jan 19, 2018

I have completed the full-scale change.

@oliviertassinari oliviertassinari removed their assignment Jan 19, 2018
Copy link
Member

@mbrookes mbrookes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change component: button This is the name of the generic UI component, not the React module! design: material This is about Material Design, please involve a visual or UX designer in the process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants