-
-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
👻 Brief Description
The text color is no longer auto adjusted, so components are no longer accessible when a dark background color is used.
🥞 Affected version
9.0.0 (Angular 20)
Reproduction
StackBlitz / reproduction repository link:
https://github.com/dgerhardt/angular-material-css-vars-ng-20-a11y
Steps to reproduce the behavior:
- Create a new project using Angular 20
- Set the primary color to #333333
- Add a MatButton with primary color to a component
- The text color of the button is black instead of white.
🚓 Expected behavior
The text color should auto adjust to ensure that there is always a high contrast. This was the case before Angular 20.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working