Apply theme variables to pi charts (#27773)

This commit is contained in:
Petar Petrov
2025-11-03 17:27:09 +02:00
committed by Bram Kragten
parent 1eda44a102
commit 95311be034

View File

@@ -652,6 +652,13 @@ export class HaChartBase extends LitElement {
textBorderWidth: 2,
},
},
pie: {
label: {
color: style.getPropertyValue("--primary-text-color"),
textBorderColor: style.getPropertyValue("--primary-background-color"),
textBorderWidth: 2,
},
},
sankey: {
label: {
color: style.getPropertyValue("--primary-text-color"),