Skip to content

Commit 96f0fd5

Browse files
committed
fix(textarea): update disabled state text color for bottom content
1 parent 7a08e2e commit 96f0fd5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

core/src/components/textarea/textarea.ionic.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ ion-icon {
194194
:host(.textarea-disabled:not(.ion-valid)) .textarea-bottom .helper-text,
195195
:host(.textarea-disabled) .textarea-bottom .counter,
196196
:host(.textarea-disabled) .label-text-wrapper {
197-
color: globals.$ion-primitives-neutral-500;
197+
color: globals.$ion-text-disabled;
198198
}
199199

200200
:host(.textarea-disabled.has-focus.ion-valid) {
@@ -205,10 +205,12 @@ ion-icon {
205205
--border-color: rgba(#{globals.$ion-semantics-danger-base-rgb}, 0.6);
206206
}
207207

208+
:host(.textarea-disabled.ion-color) {
209+
--border-color: #{globals.current-color(base, 0.6)};
210+
}
211+
208212
:host(.textarea-disabled.has-focus.ion-valid) .textarea-bottom .helper-text,
209-
:host(.textarea-disabled.ion-touched.ion-invalid) .error-text,
210-
:host(.textarea-disabled.ion-color) .textarea-bottom .helper-text,
211-
:host(.textarea-disabled.ion-color) .helper-text {
213+
:host(.textarea-disabled.ion-touched.ion-invalid) .error-text {
212214
opacity: 0.6;
213215
}
214216

0 commit comments

Comments
 (0)