From d51f8995dd3f6fbd9819ef49c61a985f1a22f58c 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 3aa666f93d..f354a66fbd 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: {