mat slide toggle change color

Solutions on MaxInterview for mat slide toggle change color by the best coders in the world

showing results for - "mat slide toggle change color"
Oswald
22 Nov 2019
1::ng-deep .mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-thumb {
2    background-color: blue; /*replace with your color*/
3}
4
5::ng-deep .mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-bar {
6    background-color: skyblue;  /*replace with your color*/
7}