-
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
fix(button): ripple color not correct for standard, icon and stroked buttons #13235
fix(button): ripple color not correct for standard, icon and stroked buttons #13235
Conversation
I just realize that there is something that won't work like before. If a developer has a button and sets a custom color for the button, the ripple color will also be based on that custom color (which doesn't look bad; just breaking). Before this change, the ripple color was just kept black. Not sure what's the best solution here. We can also just change the ripple color of transparent buttons inside of the toolbar theme. This would work, but isn't a solution for other themed elements. |
Does this match what mdc does? |
By looking at it, it looks like they do nothing about buttons inside a toolbar. They have some special CSS class for icon buttons, but otherwise normal buttons are just invisible inside of the toolbar. |
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.
LGTM
Actually, this is blocked until we finish the 2018 spec updates inside google. |
FYI I notice a similar problem on chips: |
…buttons With angular@c3a8d0c, we already ensured that the text color is **inherited** in order to make sure that buttons without a background color are readable on various themed backgrounds (e.g. themed toolbars) This is a follow-up that ensures that the ripple color for such transparent buttons is contrasting to the background color (e.g. in themed toolbars). Fixes angular#13232
aaa9c19
to
9008a6f
Compare
…buttons (#13235) With c3a8d0c, we already ensured that the text color is **inherited** in order to make sure that buttons without a background color are readable on various themed backgrounds (e.g. themed toolbars) This is a follow-up that ensures that the ripple color for such transparent buttons is contrasting to the background color (e.g. in themed toolbars). Fixes #13232
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
With c3a8d0c, we already ensured that the text color is inherited in order to make sure that buttons without a background color are readable on various themed backgrounds (e.g. themed toolbars)
This is a follow-up that ensures that the ripple color for such transparent buttons is contrasting to the background color (e.g. in themed toolbars).
Fixes #13232