Merge pull request #1286 from bluewave-labs/fix/detailColors

Fix/detail colors
This commit is contained in:
Alexander Holliday authored and GitHub committed 2024-12-04 17:41:45 -08:00
commit b861b1f8a1
3 files changed
+5 -5

No files matched your search

@@ -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,
},
dark: {
light: paletteColors.green800,
light: paletteColors.green400,
dark: paletteColors.green900,
},
},