Skip to content

Commit 230b1ed

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 4ad4fd2 commit 230b1ed

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
@@ -178,3 +178,9 @@ $mat-radio-ripple-radius: 20px;
178178
bottom: 0;
179179
left: 50%;
180180
}
181+
182+
@include cdk-high-contrast {
183+
.mat-radio-disabled {
184+
opacity: 0.5;
185+
}
186+
}

0 commit comments

Comments
 (0)