From 326b57f91be9e6e483f32eb90c4c9b234704ea6c Mon Sep 17 00:00:00 2001 From: Miguel Palhas Date: Fri, 13 Sep 2024 12:43:59 +0100 Subject: [PATCH] Fixes text input icons color in dark mode (#21971) --- src/components/ha-textfield.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ha-textfield.ts b/src/components/ha-textfield.ts index 2cc9b01b4752..bf45e85a1fb2 100644 --- a/src/components/ha-textfield.ts +++ b/src/components/ha-textfield.ts @@ -109,7 +109,7 @@ export class HaTextField extends TextFieldBase { color: var(--secondary-text-color); } - .mdc-text-field__icon { + .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon { color: var(--secondary-text-color); }