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): snack-bar action button does not follow material guidelines #27769

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

knoake
Copy link

@knoake knoake commented Sep 7, 2023

Fixes a bug in the Angular Material snack-bar, where accent color is used for action button color in light themes and grey is used in dark themes. This does not follow the material design guidelines which recommend a tone of primary color is used in both light and dark themes, and that the color should contrast with the background.

Fixes #13905

Copy link
Contributor

@mmalerba mmalerba left a comment

Choose a reason for hiding this comment

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

LGTM, very likely to cause screen diffs internally which will need to b resolved

@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 Sep 18, 2023
@knoake knoake force-pushed the snackbar-should-use-primary-color-action-button branch from 1d70675 to 9b00d0f Compare September 22, 2023 13:34
…rial guidelines

Fixes a bug in the Angular Material snack-bar, where accent color is used for action
button color in light themes and grey is used in dark themes. This does not follow the
material design guidelines which recommend a tone of primary color is used in both light
and dark themes, and that the color should contrast with the background.

Fixes angular#13905
@knoake knoake force-pushed the snackbar-should-use-primary-color-action-button branch from 9b00d0f to d1e3d50 Compare September 28, 2023 13:44
@knoake
Copy link
Author

knoake commented Sep 28, 2023

Fixed linting errors

@knoake
Copy link
Author

knoake commented Jan 17, 2024

@mmalerba Is there anything else I need to do to this PR so it can be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.

Snackbar action styling inconsistent / poor contrast
2 participants