change bordercolor of ion-input on click code example Example: ionic input line color ion-item { --border-color: var(--ion-color-danger, #f1453d); }