Skip to content

Commit

Permalink
Fix axis color in darkmode
Browse files Browse the repository at this point in the history
  • Loading branch information
MatissJanis committed Jan 20, 2024
1 parent 7a7e1b5 commit 7a42375
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,16 @@ export function CashFlowGraph({ graphData, isConcise }: CashFlowGraphProps) {
<CartesianGrid strokeDasharray="3 3" vertical={false} />
<XAxis
dataKey="date"
tick={{ fill: theme.reportsLabel }}
tickFormatter={x => {
// eslint-disable-next-line rulesdir/typography
return d.format(x, isConcise ? "MMM ''yy" : 'MMM d');
}}
/>
<YAxis tickFormatter={value => (privacyMode ? '...' : value)} />
<YAxis
tick={{ fill: theme.reportsLabel }}
tickFormatter={value => (privacyMode ? '...' : value)}
/>
<Tooltip
labelFormatter={x => {
// eslint-disable-next-line rulesdir/typography
Expand Down

0 comments on commit 7a42375

Please sign in to comment.