mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 15:07:13 +08:00
fix(input): update error text color for ionic theme (#29270)
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user