-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
feat(button): add support for filled tonal button same as in M3 spec #28809
Comments
+1 |
upvoted missing core feature should be implemented. |
Yes, I also need this. |
+1. This feature should be implemented. In the meantime, we can use the following:
|
In v19, I had to use these slightly differently named CSS vars: |
It's nearly impossible to follow the M3 spec without having access to a tonal button. This seems like a major issue. |
This is the best workaround I found for now. It piggybacks on the extended fab button, so you're still inside the theme and get appropriate styling for hover/focus/press and probably other things I've not thought of.
|
Adds support for the tonal button appearance from the spec. It can be enabled by setting `matButton="tonal"` on the button. Fixes angular#28809.
Adds support for the tonal button appearance from the spec. It can be enabled by setting `matButton="tonal"` on the button. Fixes angular#28809.
Adds support for the tonal button appearance from the spec. It can be enabled by setting `matButton="tonal"` on the button. Fixes angular#28809.
Feature Description
https://m3.material.io/components/buttons/guidelines#07a1577b-aaf5-4824-a698-03526421058b
Use Case
No response
The text was updated successfully, but these errors were encountered: