Skip to content

Commit e36e7ec

Browse files
johanzanderclaude
andauthored
fix: swap SOC and grid-charging colors in battery chart (#379)
SOC is now green (#16a34a) and Grid→Battery is now blue (#3b82f6), following up on #370. Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
1 parent ea70da9 commit e36e7ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/components/BatteryLevelChart.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ export const BatteryLevelChart: React.FC<BatteryLevelChartProps> = ({ hourlyData
3131
background: isDarkMode ? '#1f2937' : '#ffffff',
3232
tooltip: isDarkMode ? '#374151' : '#ffffff',
3333
tooltipBorder: isDarkMode ? '#4b5563' : '#d1d5db',
34-
soc: '#3b82f6',
34+
soc: '#16a34a',
3535
solarCharging: '#fbbf24',
36-
gridCharging: '#16a34a',
36+
gridCharging: '#3b82f6',
3737
homeDischarging: '#f87171',
3838
gridDischarging: '#dc2626'
3939
};

0 commit comments

Comments
 (0)