Slide Toggle: Opacity is not added to the background when using CSS variables to define a custom theme #17610
Labels
area: material/slide-toggle
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
In the bug demo below, I use CSS variables to define a custom theme (so I can change it dynamically). Please see the 'styles.scss' file.
Demo: https://stackblitz.com/github/JoakimZebic/angular-material-slide-toggle-bug-report
Steps to reproduce:
Expected Behavior
The background color of mat-slide-toggle should have opacity.
Actual Behavior
The background color of mat-slide-toggle doesn't have opacity and it's the same as 'thumb' color.
Environment
The text was updated successfully, but these errors were encountered: