status box fix
This commit is contained in:
1 parent
8048dae81c
commit
f68e885c88
1 file changed
+10
-8
@@ -65,27 +65,29 @@ const useUtils = () => {
|
|||||||
const statusStyles = {
|
const statusStyles = {
|
||||||
up: {
|
up: {
|
||||||
backgroundColor: theme.palette.success.lowContrast,
|
backgroundColor: theme.palette.success.lowContrast,
|
||||||
background: `linear-gradient(340deg, ${theme.palette.success.lowContrast} -60%, ${theme.palette.success.contrastText} 35%)`,
|
background: `linear-gradient(340deg, ${theme.palette.tertiary.main} -60%, ${theme.palette.success.lowContrast} 35%)`, // CAIO_REVIEW
|
||||||
borderColor: theme.palette.success.contrastText,
|
borderColor: theme.palette.success.contrastText,
|
||||||
"& h2": { color: theme.palette.success.main },
|
// "& h2": { color: theme.palette.success.contrastText }, // CAIO_REVIEW
|
||||||
},
|
},
|
||||||
down: {
|
down: {
|
||||||
backgroundColor: theme.palette.error.lowContrast,
|
backgroundColor: theme.palette.error.lowContrast,
|
||||||
background: `linear-gradient(340deg, ${theme.palette.error.lowContrast} -60%, ${theme.palette.error.contrastText} 35%)`,
|
background: `linear-gradient(340deg, ${theme.palette.tertiary.main} -60%, ${theme.palette.error.lowContrast} 35%)`, // CAIO_REVIEW
|
||||||
borderColor: theme.palette.error.contrastText,
|
borderColor: theme.palette.error.contrastText,
|
||||||
"& h2": { color: theme.palette.error.main },
|
"& h2": { color: theme.palette.error.contrastText }, // CAIO_REVIEW
|
||||||
|
"& .MuiTypography-root": { color: theme.palette.error.contrastText }, // CAIO_REVIEW
|
||||||
},
|
},
|
||||||
paused: {
|
paused: {
|
||||||
backgroundColor: theme.palette.warning.lowContrast,
|
backgroundColor: theme.palette.warning.lowContrast,
|
||||||
background: `linear-gradient(340deg, ${theme.palette.warning.lowContrast} -60%, ${theme.palette.warning.contrastText} 35%)`,
|
background: `linear-gradient(340deg, ${theme.palette.tertiary.main} -60%, ${theme.palette.warning.lowContrast} 35%)`, // CAIO_REVIEW
|
||||||
borderColor: theme.palette.warning.contrastText,
|
borderColor: theme.palette.warning.contrastText,
|
||||||
"& h2": { color: theme.palette.warning.main },
|
"& h2": { color: theme.palette.warning.contrastText }, // CAIO_REVIEW
|
||||||
|
"& .MuiTypography-root": { color: theme.palette.warning.contrastText }, // CAIO_REVIEW
|
||||||
},
|
},
|
||||||
pending: {
|
pending: {
|
||||||
backgroundColor: theme.palette.warning.lowContrast,
|
backgroundColor: theme.palette.warning.lowContrast,
|
||||||
background: `linear-gradient(340deg, ${theme.palette.warning.lowContrast} -60%, ${theme.palette.warning.contrastText} 35%)`,
|
background: `linear-gradient(340deg, ${theme.palette.tertiary.main} -60%, ${theme.palette.warning.lowContrast} 35%)`, // CAIO_REVIEW
|
||||||
borderColor: theme.palette.warning.contrastText,
|
borderColor: theme.palette.warning.contrastText,
|
||||||
"& h2": { color: theme.palette.warning.main },
|
"& h2": { color: theme.palette.warning.contrastText }, // CAIO_REVIEW
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user