-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[Button] Make the outlined variant better leverage the color #12473
Conversation
essuraj
commented
Aug 11, 2018
- Changed the color of the outline of the button when the button color is primary and secondary based on the theme used.
- Changed the outline width to 2px from 1px as it is what the official material docs use, plus they look good.
I have no objection to this change. It's what vuetify and angular material are doing. It's also creating more override flexibility with the two new class keys 👍 .
MCW is the only one to do this, it even goes against the official specification. I don't think that we should be following them. @mbrookes What do you think? |
I agree with @oliviertassinari about not changing the border-width. Regarding the border color, perhaps it might be better if only applied when focused, in order to stay closer to the spec? Alternatively, perhaps it could take the primary /secondary color, but with reduced opacity when not hovered or focused? |
changed back to 1px width and added color opacity on hover |
What should the style be when focused? |
7edea1d
to
a43d2cf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@essuraj Thanks for contributing! |