Fix gauge colors
This commit is contained in:
1 parent
8021786d0c
commit
2070e24829
1 file changed
+3
-3
@@ -54,8 +54,8 @@ const CustomGauge = ({ progress = 0, radius = 70, strokeWidth = 15, threshold =
|
|||||||
|
|
||||||
const fillColor =
|
const fillColor =
|
||||||
progressWithinRange > threshold
|
progressWithinRange > threshold
|
||||||
? theme.palette.error.lowContrast
|
? theme.palette.error.lowContrast // CAIO_REVIEW
|
||||||
: theme.palette.accent.main;
|
: theme.palette.accent.main; // CAIO_REVIEW
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Box
|
<Box
|
||||||
@@ -70,7 +70,7 @@ const CustomGauge = ({ progress = 0, radius = 70, strokeWidth = 15, threshold =
|
|||||||
>
|
>
|
||||||
<circle
|
<circle
|
||||||
className="radial-chart-base"
|
className="radial-chart-base"
|
||||||
stroke={theme.palette.primary.lowContrast}
|
stroke={theme.palette.primary.lowContrast} // CAIO_REVIEW
|
||||||
strokeWidth={strokeWidth}
|
strokeWidth={strokeWidth}
|
||||||
fill="none"
|
fill="none"
|
||||||
cx={totalSize / 2} // Center the circle
|
cx={totalSize / 2} // Center the circle
|
||||||
|
|||||||
Reference in new issue
Block a user