mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-05-05 07:59:30 -05:00
feat: fixing colors
This commit is contained in:
@@ -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
|
||||
? {
|
||||
|
||||
@@ -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 },
|
||||
},
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user