Skip to content

Commit

Permalink
fixup! fix(material/slide-toggle): use css var for disabled label color
Browse files Browse the repository at this point in the history
  • Loading branch information
wagnermaciel committed Jan 24, 2024
1 parent 33e9d3b commit d406c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/material/slide-toggle/slide-toggle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@include mdc-switch.static-styles-without-ripple();

// TODO(wagnermaciel): Use our custom token system to emit this css rule.
.mdc-switch--disabled + label {
.mat-mdc-slide-toggle .mdc-switch--disabled + label {
color: var(--mdc-switch-disabled-label-text-color);
}

Expand Down

0 comments on commit d406c63

Please sign in to comment.