update color

This commit is contained in:
henrygd
2026-08-15 21:45:13 -04:00
parent 68f417575f
commit d3afa74746

View File

@@ -40,7 +40,7 @@ export function BatteryChart({
const dataPoints = batteryNames.map((name, index) => ({
label: name,
dataKey: ({ stats }: SystemStatsRecord) => stats?.bats?.[name],
color: `hsl(${(index * 360) / batteryNames.length}, 60%, 55%)`,
color: `hsl(${(index * 360 + 226) / batteryNames.length}, 65%, 52%)`,
}))
return (
<ChartCard