various infra details page color fixes
This commit is contained in:
1 parent
239164e779
commit
6eedaa5ca0
3 files changed
+6
-3
No files matched your search
@@ -408,8 +408,8 @@ const InfrastructureDetails = () => {
|
|||||||
data: checks,
|
data: checks,
|
||||||
dataKeys: ["avgMemoryUsage"],
|
dataKeys: ["avgMemoryUsage"],
|
||||||
heading: "Memory usage",
|
heading: "Memory usage",
|
||||||
strokeColor: theme.palette.primary.main,
|
strokeColor: theme.palette.accent.main, // CAIO_REVIEW
|
||||||
gradientStartColor: theme.palette.primary.main,
|
gradientStartColor: theme.palette.accent.main, // CAIO_REVIEW
|
||||||
yLabel: "Memory usage",
|
yLabel: "Memory usage",
|
||||||
yDomain: [0, 1],
|
yDomain: [0, 1],
|
||||||
yTick: <PercentTick />,
|
yTick: <PercentTick />,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { lighten } from "@mui/material/styles"; // CAIO_REVIEW
|
import { lighten, darken } from "@mui/material/styles"; // CAIO_REVIEW
|
||||||
|
|
||||||
const typographyBase = 14;
|
const typographyBase = 14;
|
||||||
|
|
||||||
|
|||||||
@@ -116,6 +116,9 @@ const baseTheme = (palette) => ({
|
|||||||
backgroundColor: theme.palette.secondary.main,
|
backgroundColor: theme.palette.secondary.main,
|
||||||
color: theme.palette.primary.contrastText,
|
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-loading": {
|
||||||
"& .MuiLoadingButton-label": {
|
"& .MuiLoadingButton-label": {
|
||||||
|
|||||||
Reference in new issue
Block a user