-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[ToggleButton] Update styles for Material v2 #14278
Conversation
This comment has been minimized.
This comment has been minimized.
This should not have been so difficult, but got there in the end! 😅 The buttons required semi-transparent borders, so that the borders take on the background color if customized. However since the borders need to overlap, they are additive, creating varying shades of border, according to the state of adjacent buttons. JSS nested and sibling selectors to the rescue! |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
In the future, I think that it would be great to introduce a button group component. |
I have followed (at least) the PR section of the contributing guide.
No drop-shadow
Outside border
Square buttons
Vertical separator between buttons
Lighter colors