Skip to content

A local-first personal finance app

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

Juulz91faa2f7f101
diff --git a/packages/desktop-client/src/components/reports/graphs/BudgetAnalysisGraph.tsx b/packages/desktop-client/src/components/reports/graphs/BudgetAnalysisGraph.tsx
index e34f73b776..971fe76774 100644
--- a/packages/desktop-client/src/components/reports/graphs/BudgetAnalysisGraph.tsx
+++ b/packages/desktop-client/src/components/reports/graphs/BudgetAnalysisGraph.tsx
@@ -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}
diff --git a/upcoming-release-notes/6791.md b/upcoming-release-notes/6791.md
new file mode 100644
index 0000000000..a8a63cd2ff
--- /dev/null
+++ b/upcoming-release-notes/6791.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [Juulz]
+---
+
+Fix Budget Analysis graph to enhance Balance (line and points) for legibility.