various infra details page color fixes

This commit is contained in:
Alex Holliday committed 2025-01-21 10:58:08 -08:00
1 parent 239164e779
commit 6eedaa5ca0
3 files changed
+6 -3

No files matched your search

@@ -408,8 +408,8 @@ const InfrastructureDetails = () => {
data: checks,
dataKeys: ["avgMemoryUsage"],
heading: "Memory usage",
strokeColor: theme.palette.primary.main,
gradientStartColor: theme.palette.primary.main,
strokeColor: theme.palette.accent.main, // CAIO_REVIEW
gradientStartColor: theme.palette.accent.main, // CAIO_REVIEW
yLabel: "Memory usage",
yDomain: [0, 1],
yTick: <PercentTick />,
+1 -1
View File
@@ -1,4 +1,4 @@
import { lighten } from "@mui/material/styles"; // CAIO_REVIEW
import { lighten, darken } from "@mui/material/styles"; // CAIO_REVIEW
const typographyBase = 14;
+3
View File
@@ -116,6 +116,9 @@ const baseTheme = (palette) => ({
backgroundColor: theme.palette.secondary.main,
color: theme.palette.primary.contrastText,
},
"&.MuiButton-colorAccent:hover": {
boxShadow: `0 0 0 1px ${theme.palette.accent.main}`, // CAIO_REVIEW, this should really have a solid BG color
},
},
"&.MuiLoadingButton-loading": {
"& .MuiLoadingButton-label": {