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 stepper icon color in M2 #29564

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

Conversation

json-derulo
Copy link
Contributor

@json-derulo json-derulo commented Aug 9, 2024

Currently, the step icon M2 theming does not work correctly. The foreground color uses the contrast color of the primary color, but this does not necessarily provide enough contrast to the background. With this changes, the default foreground color is adjusted to ensure sufficient contrast to the background, regardless of the primary contrast color.

Fixes #29518

@json-derulo json-derulo requested a review from a team as a code owner August 9, 2024 16:09
@json-derulo json-derulo requested review from amysorto and mmalerba and removed request for a team August 9, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(stepper): bad contrast of step icon in untouched state for M2
1 participant