adjusted theme settings for color fixes

This commit is contained in:
Alex Holliday committed 2024-11-27 14:50:05 +08:00
1 parent 8fabca9868
commit 470a1bfcfa
6 files changed
+14 -6

No files matched your search

@@ -158,9 +158,7 @@ const BarChart = ({ checks = [] }) => {
width="100%"
height={`${animate ? check.responseTime : 0}%`}
backgroundColor={
check.status
? theme.palette.success.main
: theme.palette.error.contrastText
check.status ? theme.palette.success.main : theme.palette.error.main
}
sx={{
borderRadius: theme.spacing(1.5),