Check out example codes for "ionic input line color". It will help you in understanding the concepts better.

Code Example 1

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

Learn ReactJs, React Native from akashmittal.com