From ad48732bb7412d74db14ce974a30af93f5de5568 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Wed, 5 Feb 2025 15:04:14 +0100 Subject: [PATCH] Charts: add styles for legend page controls (#24081) --- src/components/chart/ha-chart-base.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/chart/ha-chart-base.ts b/src/components/chart/ha-chart-base.ts index 1084b7ea07..426dc7283f 100644 --- a/src/components/chart/ha-chart-base.ts +++ b/src/components/chart/ha-chart-base.ts @@ -480,6 +480,11 @@ export class HaChartBase extends LitElement { color: style.getPropertyValue("--primary-text-color"), }, inactiveColor: style.getPropertyValue("--disabled-text-color"), + pageIconColor: style.getPropertyValue("--primary-text-color"), + pageIconInactiveColor: style.getPropertyValue("--disabled-text-color"), + pageTextStyle: { + color: style.getPropertyValue("--secondary-text-color"), + }, }, tooltip: { axisPointer: {