mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 15:07:13 +08:00
feat(input): add styles for counter text on ionic theme (#29516)
Issue number: internal --------- ## What is the current behavior? The counter text for the ionic theme does not have added styles. ## What is the new behavior? - Updates the `color` of the counter text to match the design - Updates the screenshots that were changed with this update ## Does this introduce a breaking change? - [ ] Yes - [x] No
This commit is contained in:
@ -113,15 +113,16 @@
|
||||
font-weight: var(--ionic-font-weight-medium, 500);
|
||||
}
|
||||
|
||||
// Input Hint Text
|
||||
// Input Bottom Text
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
.input-bottom .helper-text {
|
||||
.input-bottom .helper-text,
|
||||
.input-bottom .counter {
|
||||
color: tokens.$ionic-color-neutral-600;
|
||||
}
|
||||
|
||||
:host(.has-focus.ion-valid) .helper-text {
|
||||
color: #{tokens.$ionic-color-success-800};
|
||||
color: tokens.$ionic-color-success-800;
|
||||
}
|
||||
|
||||
:host(.ion-touched.ion-invalid) .error-text {
|
||||
|
||||
Reference in New Issue
Block a user