Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/lib/radio/radio.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@import '../core/style/variables';
@import '../core/ripple/ripple';
@import '../../cdk/a11y/a11y';


$mat-radio-size: $mat-toggle-size !default;
Expand Down Expand Up @@ -65,6 +66,12 @@ $mat-radio-ripple-radius: 25px;

.mat-radio-checked & {
transform: scale(0.5);

@include cdk-high-contrast {
// Since we use a background color to render the circle, it won't be
// displayed in high contrast mode. Use a border as a fallback.
border: solid $mat-radio-size / 2;
}
}
}

Expand Down