From c6c5ea34d385b51e88ecabf8f712937f91a0893d Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Fri, 6 Dec 2024 09:19:56 +0100 Subject: [PATCH] Fix text color in ha-md-select in dark mode (#23174) --- src/components/ha-md-select.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/ha-md-select.ts b/src/components/ha-md-select.ts index 924fc2163525..7dc7ef03f62f 100644 --- a/src/components/ha-md-select.ts +++ b/src/components/ha-md-select.ts @@ -18,6 +18,7 @@ export class HaMdSelect extends MdFilledSelect { --md-sys-color-on-surface: var(--input-ink-color); --md-sys-color-surface-container: var(--input-fill-color); + --md-sys-color-on-secondary-container: var(--primary-text-color); --md-sys-color-secondary-container: var(--input-fill-color); --md-menu-container-color: var(--card-background-color); }