File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
projects/components/src/radio Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 58
58
.radio-button-label {
59
59
@include body-2-regular ($gray-7 );
60
60
}
61
+
62
+ & .disabled {
63
+ & .mat-radio-checked .mat-radio-container .mat-radio-outer-circle {
64
+ background : $gray-3 ;
65
+ }
66
+
67
+ .mat-radio-container .mat-radio-outer-circle {
68
+ background : $gray-1 ;
69
+ }
70
+
71
+ .radio-button-label {
72
+ color : $gray-5 ;
73
+ }
74
+ }
61
75
}
62
76
63
77
.radio-button :last-child {
Original file line number Diff line number Diff line change @@ -15,7 +15,12 @@ import { RadioOption } from './radio-option';
15
15
(change)="this.onRadioChange($event)"
16
16
[disabled]="this.disabled"
17
17
>
18
- <mat-radio-button *ngFor="let option of options" class="radio-button" [value]="option.value">
18
+ <mat-radio-button
19
+ *ngFor="let option of options"
20
+ class="radio-button"
21
+ [ngClass]="{ disabled: this.disabled }"
22
+ [value]="option.value"
23
+ >
19
24
<ht-label class="radio-button-label" [label]="option.label"></ht-label>
20
25
</mat-radio-button>
21
26
</mat-radio-group>
You can’t perform that action at this time.
0 commit comments