fix gauge colors
This commit is contained in:
1 parent
f68e885c88
commit
8021786d0c
2 files changed
+2
-113
No files matched your search
@@ -54,8 +54,8 @@ const CustomGauge = ({ progress = 0, radius = 70, strokeWidth = 15, threshold =
|
||||
|
||||
const fillColor =
|
||||
progressWithinRange > threshold
|
||||
? theme.palette.error.main
|
||||
: theme.palette.primary.main;
|
||||
? theme.palette.error.lowContrast
|
||||
: theme.palette.accent.main;
|
||||
|
||||
return (
|
||||
<Box
|
||||
|
||||
Reference in new issue
Block a user