Skip to content

Commit 3ced71b

Browse files
authored
fix: improve bar chart color contrast (#71)
1 parent e4c32be commit 3ced71b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/dashboard/src/RolldownStats.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function RolldownStats({ selectedMetric, setSelectedMetric }: RolldownStatsProps
111111

112112
const rolldownMetrics = [
113113
{ id: 'bundleSize', name: 'Bundle Size', icon: Package, data: bundleSizeDiffData, color: '#374151' },
114-
{ id: 'buildTime', name: 'Build Time', icon: Clock, data: buildTimeData, color: '#000000' },
114+
{ id: 'buildTime', name: 'Build Time', icon: Clock, data: buildTimeData, color: '#2563eb' },
115115
];
116116

117117
const currentMetric = rolldownMetrics.find(m => m.id === selectedMetric) || rolldownMetrics[0];
@@ -234,8 +234,8 @@ function RolldownStats({ selectedMetric, setSelectedMetric }: RolldownStatsProps
234234
</Bar>
235235
<defs>
236236
<linearGradient id='buildTimeGradient' x1='0' y1='0' x2='0' y2='1'>
237-
<stop offset='0%' stopColor='#000000' stopOpacity={1} />
238-
<stop offset='100%' stopColor='#374151' stopOpacity={0.8} />
237+
<stop offset='0%' stopColor='#2563eb' stopOpacity={1} />
238+
<stop offset='100%' stopColor='#3b82f6' stopOpacity={0.8} />
239239
</linearGradient>
240240
</defs>
241241
</BarChart>

0 commit comments

Comments
 (0)