feat: fixing colors

This commit is contained in:
Caio Cabral
2024-12-04 19:37:19 -05:00
parent 4c051ff0ac
commit fd7b531126
3 changed files with 5 additions and 5 deletions
@@ -246,13 +246,13 @@ const ResponseGaugeChart = ({ data }) => {
? {
category: "Excellent",
main: theme.palette.success.main,
bg: theme.palette.success.dark,
bg: theme.palette.success.contrastText,
}
: responseTime <= 500
? {
category: "Fair",
main: theme.palette.success.main,
bg: theme.palette.success.dark,
bg: theme.palette.success.contrastText,
}
: responseTime <= 600
? {
+1 -1
View File
@@ -31,7 +31,7 @@ const useUtils = () => {
const statusStyles = {
up: {
backgroundColor: theme.palette.success.dark,
background: `linear-gradient(340deg, ${theme.palette.success.light} -60%, ${theme.palette.success.dark} 35%)`,
background: `linear-gradient(340deg, ${theme.palette.success.dark} -60%, ${theme.palette.success.light} 35%)`,
borderColor: theme.palette.success.light,
"& h2": { color: theme.palette.success.main },
},
+2 -2
View File
@@ -100,10 +100,10 @@ const semanticColors = {
},
light: {
light: paletteColors.green50,
dark: paletteColors.green150,
dark: paletteColors.green800 /* green150 */,
},
dark: {
light: paletteColors.green800,
light: paletteColors.green400 /* 800 */,
dark: paletteColors.green900,
},
},