feat: fixing colors

This commit is contained in:
Caio Cabral committed 2024-12-04 19:37:19 -05:00
1 parent 4c051ff0ac
commit fd7b531126
3 files changed
+5 -5

No files matched your search

@@ -246,13 +246,13 @@ const ResponseGaugeChart = ({ data }) => {
? { ? {
category: "Excellent", category: "Excellent",
main: theme.palette.success.main, main: theme.palette.success.main,
bg: theme.palette.success.dark, bg: theme.palette.success.contrastText,
} }
: responseTime <= 500 : responseTime <= 500
? { ? {
category: "Fair", category: "Fair",
main: theme.palette.success.main, main: theme.palette.success.main,
bg: theme.palette.success.dark, bg: theme.palette.success.contrastText,
} }
: responseTime <= 600 : responseTime <= 600
? { ? {
+1 -1
View File
@@ -31,7 +31,7 @@ const useUtils = () => {
const statusStyles = { const statusStyles = {
up: { up: {
backgroundColor: theme.palette.success.dark, 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, borderColor: theme.palette.success.light,
"& h2": { color: theme.palette.success.main }, "& h2": { color: theme.palette.success.main },
}, },
+2 -2
View File
@@ -100,10 +100,10 @@ const semanticColors = {
}, },
light: { light: {
light: paletteColors.green50, light: paletteColors.green50,
dark: paletteColors.green150, dark: paletteColors.green800 /* green150 */,
}, },
dark: { dark: {
light: paletteColors.green800, light: paletteColors.green400 /* 800 */,
dark: paletteColors.green900, dark: paletteColors.green900,
}, },
}, },