We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44a0a4f commit a74099fCopy full SHA for a74099f
src/lib/radio/radio.scss
@@ -1,5 +1,6 @@
1
@import '../core/style/variables';
2
@import '../core/ripple/ripple';
3
+@import '../../cdk/a11y/a11y';
4
5
6
$mat-radio-size: $mat-toggle-size !default;
@@ -65,6 +66,12 @@ $mat-radio-ripple-radius: 25px;
65
66
67
.mat-radio-checked & {
68
transform: scale(0.5);
69
+
70
+ @include cdk-high-contrast {
71
+ // Since we use a background color to render the circle, it won't be
72
+ // displayed in high contrast mode. Use a border as a fallback.
73
+ border: solid $mat-radio-size / 2;
74
+ }
75
}
76
77
0 commit comments