Remove gray colors from chart color set (#25844)

This commit is contained in:
karwosts 2025-06-20 04:50:12 -07:00 committed by GitHub
parent b20d489bdd
commit e9272b9a27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 6 deletions

View File

@ -11,7 +11,6 @@ export const COLORS = [
"#9c6b4e", "#9c6b4e",
"#97bbf5", "#97bbf5",
"#01ab63", "#01ab63",
"#9498a0",
"#094bad", "#094bad",
"#c99000", "#c99000",
"#d84f3e", "#d84f3e",
@ -21,7 +20,6 @@ export const COLORS = [
"#8043ce", "#8043ce",
"#7599d1", "#7599d1",
"#7a4c31", "#7a4c31",
"#74787f",
"#6989f4", "#6989f4",
"#ffd444", "#ffd444",
"#ff957c", "#ff957c",
@ -31,7 +29,6 @@ export const COLORS = [
"#c884ff", "#c884ff",
"#badeff", "#badeff",
"#bf8b6d", "#bf8b6d",
"#b6bac2",
"#927acc", "#927acc",
"#97ee3f", "#97ee3f",
"#bf3947", "#bf3947",
@ -44,7 +41,6 @@ export const COLORS = [
"#d9b100", "#d9b100",
"#9d7a00", "#9d7a00",
"#698cff", "#698cff",
"#d9d9d9",
"#00d27e", "#00d27e",
"#d06800", "#d06800",
"#009f82", "#009f82",

View File

@ -392,7 +392,7 @@ export class HuiEnergyDevicesDetailGraphCard
this.hass.themes.darkMode, this.hass.themes.darkMode,
false, false,
compare, compare,
"--state-unavailable-color" "--history-unknown-color"
), ),
}, },
barMaxWidth: 50, barMaxWidth: 50,
@ -401,7 +401,7 @@ export class HuiEnergyDevicesDetailGraphCard
this.hass.themes.darkMode, this.hass.themes.darkMode,
true, true,
compare, compare,
"--state-unavailable-color" "--history-unknown-color"
), ),
data: untrackedConsumption, data: untrackedConsumption,
stack: compare ? "devicesCompare" : "devices", stack: compare ? "devicesCompare" : "devices",