Skip to content

Commit

Permalink
Merge pull request #1286 from bluewave-labs/fix/detailColors
Browse files Browse the repository at this point in the history
Fix/detail colors
  • Loading branch information
ajhollid authored Dec 5, 2024
2 parents f0f3067 + d285014 commit b861b1f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Client/src/Pages/Monitors/Details/Charts/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
? {
Expand Down
2 changes: 1 addition & 1 deletion Client/src/Pages/Monitors/utils.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
},
Expand Down
4 changes: 2 additions & 2 deletions Client/src/Utils/Theme/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
Expand Down

0 comments on commit b861b1f

Please sign in to comment.