Skip to content

Commit 07dc908

Browse files
committed
fix(textarea): use proper design for helper and error text
1 parent 40932d7 commit 07dc908

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

core/src/components/textarea/textarea.common.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,6 @@
351351

352352
border-top: var(--border-width) var(--border-style) var(--border-color);
353353

354-
font-size: dynamic-font(12px);
355-
356354
white-space: normal;
357355
}
358356

@@ -381,8 +379,6 @@
381379

382380
.textarea-bottom .helper-text {
383381
display: block;
384-
385-
color: $text-color-step-300;
386382
}
387383

388384
:host(.ion-touched.ion-invalid) .textarea-bottom .error-text {

core/src/components/textarea/textarea.native.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,18 @@
5757
font-size: globals.dynamic-font(12px);
5858
}
5959

60+
// Textarea Hint Text
61+
// ----------------------------------------------------------------
62+
63+
.textarea-bottom .helper-text {
64+
color: globals.$text-color-step-300;
65+
}
66+
6067
// Textarea Max Length Counter
6168
// ----------------------------------------------------------------
6269

6370
.textarea-bottom .counter {
64-
color: #{globals.$text-color-step-450};
71+
color: globals.$text-color-step-300;
6572

6673
padding-inline-start: 16px;
6774
}

0 commit comments

Comments
 (0)