fix(input): update error text color for ionic theme (#29270)

This commit is contained in:
Maria Hutt
2024-04-04 11:14:18 -07:00
committed by GitHub
parent 3a1e70d6fd
commit 5b62a1eafc
5 changed files with 9 additions and 3 deletions

View File

@ -3,8 +3,10 @@
// Ionic Input
// --------------------------------------------------
:host {
// TODO(FW-6113): Verify the ionic design token is correct once it's available and remove the hardcoded value.
--highlight-color-invalid: var(--ionic-color-error-600, #970606);
}
// Ionic Input Sizes
// --------------------------------------------------
@ -20,3 +22,7 @@
// TODO(FW-6112): Verify the design token is correct once it's available and remove the hardcoded value.
color: var(--ionic-color-neutral-600, #535353);
}
.input-bottom .error-text {
color: var(--highlight-color-invalid);
}