[fix] Update BudgetAnalysisGraph to use a darker gray for balance to increase legibility (#6791)

* Update BudgetAnalysisGraph.tsx

Use reportsGray for Balance.

* Fix Budget Analysis Graph balance color variable

Use reportsGray instead of numberNeutral for balance points and line.
This commit is contained in:
Juulz
2026-01-28 10:18:02 -05:00
committed by GitHub
parent 4888d3faed
commit 91faa2f7f1
2 changed files with 9 additions and 3 deletions

View File

@@ -169,7 +169,7 @@ function CustomTooltip({
style={{
width: 10,
height: 10,
backgroundColor: theme.reportsNumberNeutral,
backgroundColor: theme.reportsGray,
display: 'inline-block',
}}
/>
@@ -285,7 +285,7 @@ export function BudgetAnalysisGraph({
<Line
type="monotone"
dataKey="balance"
stroke={theme.reportsNumberNeutral}
stroke={theme.reportsGray}
strokeWidth={2}
name={balanceLabel}
dot={false}
@@ -356,7 +356,7 @@ export function BudgetAnalysisGraph({
<Line
type="monotone"
dataKey="balance"
stroke={theme.reportsNumberNeutral}
stroke={theme.reportsGray}
strokeWidth={2}
name={balanceLabel}
dot={false}

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [Juulz]
---
Fix Budget Analysis graph to enhance Balance (line and points) for legibility.