This repository was archived by the owner on Jan 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,15 @@ $mdc-checkbox-ripple-target: ".mdc-checkbox__ripple";
71
71
@include mdc-checkbox-disabled-ink-color ($mdc-checkbox-mark-color , $query : $query );
72
72
73
73
@media screen and (-ms-high-contrast : active ) {
74
+ @include mdc-checkbox-disabled-container-colors (
75
+ $unmarked-stroke-color : GrayText ,
76
+ $unmarked-fill-color : transparent ,
77
+ $marked-stroke-color : GrayText ,
78
+ $marked-fill-color : transparent ,
79
+ $query : $query
80
+ );
81
+ @include mdc-checkbox-disabled-ink-color (GrayText , $query : $query );
82
+
74
83
.mdc-checkbox__mixedmark {
75
84
@include mdc-feature-targets ($feat-structure ) {
76
85
margin : 0 1px ; // Extra horizontal space around mixedmark symbol.
Original file line number Diff line number Diff line change @@ -162,7 +162,10 @@ $mdc-theme-property-values: (
162
162
$style == " currentColor" or
163
163
str_slice ($style , 1 , 4 ) == " var(" or
164
164
$style == " inherit" or
165
- $style == " transparent" ;
165
+ $style == " transparent" or
166
+ // NOTE: `GrayText ` is deprecated, but is the only feasible way to convey the
167
+ // correct high- contrast mode colors in alignment with Windows system colors.
168
+ $style == " GrayText" ;
166
169
}
167
170
168
171
@function mdc-theme-text-emphasis ($emphasis ) {
You can’t perform that action at this time.
0 commit comments