-
-
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
[ToggleButton] Add color prop #25390
[ToggleButton] Add color prop #25390
Conversation
@material-ui/core: parsed: +0.16% , gzip: +0.05% |
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.
I have updated the PR with the following:
- Rename the default value of the color away from "default". This is related to [RFC] color prop API #13028.
- Prepare the support of any colors
- Fix the CI
- Simplify the tests
- Increase the CSS specificity for pseudo-classes
- Update the docs side panel
- Update the usage of the design token to increase consistency and to fit a bit better the spec (seems to)
Regarding what's left:
- I wonder if we shouldn't do
action
->text.primary
? - I believe we have the addition of a new demo in the documentation :)
a9c7643
to
5524f88
Compare
d2141ee
to
5c7c7ec
Compare
5c7c7ec
to
77bdfc0
Compare
Thanks @oliviertassinari, you did most of the work. 😃 |
@AlfredoGJ Hopefully, the changes that I have done make sense and can be leveraged for future contributions :) |
This PR is my approach to fix #23755