-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/slide-toggle
Description
Reproduction
Steps to reproduce:
- Add mat-slide-toggle to menu in dark-theme
<mat-menu #userMenu="matMenu">
<button mat-menu-item (click)="logout()">Logout</button>
<mat-slide-toggle
[(ngModel)]="darktheme"
(change)="changeTheme($event)">Dark Theme
</mat-slide-toggle>
</mat-menu>
Expected Behavior
What behavior were you expecting to see?
Expect mat-slide-toggle text to be white in dark-theme
Actual Behavior
What behavior did you actually see?
mat-slide-toggle text is black in dark-theme
Environment
- Angular: 9.0.4
- CDK/Material: 9.0.1
- Browser(s): Firefox, Edge (chromium)
- Operating System (e.g. Windows, macOS, Ubuntu): Windows
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/slide-toggle