Skip to content

Commit 099a38d

Browse files
committed
fixup! fix(material-experimental/multiple): fix disabled label style
1 parent fa1bec1 commit 099a38d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/material-experimental/mdc-checkbox/_checkbox-theme.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@
4343
),
4444
));
4545

46-
// MDC should set the disabled color on the label, but doesn't, so we do it here instead.
47-
&.mdc-checkbox--disabled label {
48-
color: mat.get-color-from-palette($foreground, disabled-text);
49-
}
50-
5146
.mdc-checkbox__ripple {
5247
background: mdc-theme-color.prop-value(on-surface);
5348
}
@@ -70,6 +65,11 @@
7065
@include _selected-ripple-colors($warn, error);
7166
}
7267
}
68+
69+
.mat-mdc-checkbox-disabled label {
70+
// MDC should set the disabled color on the label, but doesn't, so we do it here instead.
71+
color: mat.get-color-from-palette($foreground, disabled-text);
72+
}
7373
}
7474
}
7575

0 commit comments

Comments
 (0)