Skip to content
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(material/snack-bar): prevent override of snack bar action button color #27511

Merged

Conversation

json-derulo
Copy link
Contributor

@json-derulo json-derulo commented Jul 26, 2023

Prevents the color (if specified) of the snack bar action button from being overridden to the accent color, when using the matSnackBarAction directive.

Closes #27328

@wagnermaciel wagnermaciel requested a review from mmalerba July 26, 2023 14:27
@mmalerba mmalerba requested a review from crisbeto July 27, 2023 18:38
@mmalerba
Copy link
Contributor

@crisbeto can you confirm if this was intended to only apply to unthemed buttons

Copy link
Member

@crisbeto crisbeto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me that we don't override the color the user explicitly opted into.

@vmuresanu
Copy link

Just stumbled upon this issue. @mmalerba @crisbeto any chance this PR is merged so that user can override the --mat-mdc-snack-bar-button-color variable?

@e-karlsson
Copy link

Any chance this will be merged soon? @crisbeto
Or if there is any other way to get it fixed to override the color of action button in snackbar

@mmalerba mmalerba added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Feb 14, 2024
@json-derulo json-derulo force-pushed the bugfix/snack-bar-button-color-overridden branch from 87d23cf to fa2cb05 Compare July 3, 2024 14:47
@json-derulo json-derulo requested a review from a team as a code owner July 3, 2024 14:47
@json-derulo
Copy link
Contributor Author

@mmalerba @crisbeto I fixed the merge conflicts, the changes merge cleanly again. Is there something else blocking this PR from being merged?

@mmalerba
Copy link
Contributor

I think just the Google internal tests. I kicked off a run, lets see how it goes

@mmalerba mmalerba self-assigned this Jul 17, 2024
@mmalerba mmalerba removed the request for review from andrewseguin November 12, 2024 19:35
@mmalerba mmalerba merged commit d0cf8bf into angular:main Nov 12, 2024
20 of 22 checks passed
mmalerba pushed a commit that referenced this pull request Nov 12, 2024
…color (#27511)

Co-authored-by: Daniel Kimmich <[email protected]>
(cherry picked from commit d0cf8bf)
mmalerba pushed a commit that referenced this pull request Nov 12, 2024
…color (#27511)

Co-authored-by: Daniel Kimmich <[email protected]>
(cherry picked from commit d0cf8bf)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(snack-bar): action button color not changeable
5 participants