adjusted theme settings for color fixes
This commit is contained in:
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),
|
||||
|
||||
Reference in new issue
Block a user