Skip to content

Commit 1e925ba

Browse files
committed
fix(radio-group): use proper classes and colors
1 parent 22d59cf commit 1e925ba

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

core/src/components/radio-group/radio-group.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@ ion-radio-group {
2020
* present on the radio group. Otherwise the helper text should
2121
* be shown.
2222
*/
23-
.error-text {
23+
.radio-group-top .error-text {
2424
display: none;
2525

26-
color: var(--ion-color-danger, #eb445a);
26+
color: ion-color(danger, base);
2727
}
2828

29-
.helper-text {
29+
.radio-group-top .helper-text {
3030
display: block;
3131

32-
color: var(--ion-color-step-550, #737373);
32+
color: $text-color-step-300;
3333
}
3434

35-
.ion-touched.ion-invalid .error-text {
35+
.ion-touched.ion-invalid .radio-group-top .error-text {
3636
display: block;
3737
}
3838

39-
.ion-touched.ion-invalid .helper-text {
39+
.ion-touched.ion-invalid .radio-group-top .helper-text {
4040
display: none;
4141
}

0 commit comments

Comments
 (0)