I am experiencing an issue where I need to change the default color (grey) to a specific color of my choice, such as the primary color.
I have attempted the following methods:
<ion-col sizeXs="12" sizeMd="6" class="radio-box">
<ion-item lines="none" class="radio-item>
<ion-radio color="primary" mode="md" value="Lorem"></ion-radio>
<ion-label>Lorem</ion-label>
</ion-item>
</ion-col>
Another way I tried is using CSS:
.radio-box {
padding: 0 16px;
margin: 8px 0;
.radio-item {
border: 1px solid #0064D9;
border-radius: 5px;
ion-radio:host{
color: #0064D9!important;
}
}
}