Skip to content

Commit 1fa5e0b

Browse files
committed
finished styling bar graph
1 parent 9ff8fc8 commit 1fa5e0b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/app/components/StateRoute/PerformanceVisx/BarGraph.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ const margin = {
2626
bottom: 0,
2727
left: 70,
2828
};
29-
const axisColor = '#161617';
30-
const axisTickLabelColor = '#363638';
31-
const axisLabelColor = '#363638';
29+
const axisColor = 'var(--text-primary)';
30+
const axisTickLabelColor = 'var(--text-secondary)';
31+
const axisLabelColor = 'var(--text-primary)';
3232
const tooltipStyles = {
3333
...defaultStyles,
3434
minWidth: 60,

src/app/containers/ButtonsContainer.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ function ButtonsContainer(): JSX.Element {
5757
duration: 2000,
5858
position: 'top-right',
5959
style: {
60-
background: '#1f2937',
61-
color: '#fff',
60+
background: 'var(--bg-primary)',
61+
color: 'var(--text-primary)',
6262
},
6363
iconTheme: {
64-
primary: '#14b8a6',
65-
secondary: '#fff',
64+
primary: 'var(--color-primary)',
65+
secondary: 'var(--text-primary)',
6666
},
6767
});
6868
};

0 commit comments

Comments
 (0)