From 8159fcc18259f0beb6d87b0c973d40cfa5aeaf7c Mon Sep 17 00:00:00 2001 From: tinayuangao Date: Mon, 15 May 2017 15:26:12 -0600 Subject: [PATCH] fix(checkbox, radio): make disabled label disabled match spec color (#4507) --- src/lib/checkbox/_checkbox-theme.scss | 4 ++++ src/lib/radio/_radio-theme.scss | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/lib/checkbox/_checkbox-theme.scss b/src/lib/checkbox/_checkbox-theme.scss index e4d6689d142..1df0b0442ac 100644 --- a/src/lib/checkbox/_checkbox-theme.scss +++ b/src/lib/checkbox/_checkbox-theme.scss @@ -63,6 +63,10 @@ border-color: $disabled-color; } } + + .mat-checkbox-label { + color: $disabled-color; + } } .mat-checkbox:not(.mat-checkbox-disabled) { diff --git a/src/lib/radio/_radio-theme.scss b/src/lib/radio/_radio-theme.scss index 32154e12455..722e3d64474 100644 --- a/src/lib/radio/_radio-theme.scss +++ b/src/lib/radio/_radio-theme.scss @@ -33,5 +33,9 @@ .mat-radio-ripple .mat-ripple-element, .mat-radio-inner-circle { background-color: mat-color($foreground, disabled); } + + .mat-radio-label-content { + color: mat-color($foreground, disabled); + } } }