Skip to content

Commit ce632b0

Browse files
crisbetojosephperrott
authored andcommitted
fix(radio): unable to distinguish disabled radio button in high contrast mode (#15375)
Fixes not being to tell apart an enabled and a disabled radio button in high contrast mode.
1 parent 1f7ce05 commit ce632b0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/lib/radio/radio.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,3 +181,9 @@ $mat-radio-ripple-radius: 20px;
181181
bottom: 0;
182182
left: 50%;
183183
}
184+
185+
@include cdk-high-contrast {
186+
.mat-radio-disabled {
187+
opacity: 0.5;
188+
}
189+
}

0 commit comments

Comments
 (0)