Skip to content

Commit 8159fcc

Browse files
tinayuangaojelbourn
authored andcommitted
fix(checkbox, radio): make disabled label disabled match spec color (#4507)
1 parent 61f3987 commit 8159fcc

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/lib/checkbox/_checkbox-theme.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@
6363
border-color: $disabled-color;
6464
}
6565
}
66+
67+
.mat-checkbox-label {
68+
color: $disabled-color;
69+
}
6670
}
6771

6872
.mat-checkbox:not(.mat-checkbox-disabled) {

src/lib/radio/_radio-theme.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,9 @@
3333
.mat-radio-ripple .mat-ripple-element, .mat-radio-inner-circle {
3434
background-color: mat-color($foreground, disabled);
3535
}
36+
37+
.mat-radio-label-content {
38+
color: mat-color($foreground, disabled);
39+
}
3640
}
3741
}

0 commit comments

Comments
 (0)