Change ion-input underline color in Ionic 4


How can we change the default underline color of a ion-text in only a single page in Ionic 4?


The underline is actually a part of the ion-item, not the ion-input.

ion-item {
  --border-color: var(--ion-color-danger, #f1453d);

Answered By – soIGuessIonicIsAThing

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published