change the custom pallete name (warningSecondary)
This commit is contained in:
1 parent
251891b359
commit
45ff54d4d3
2 files changed
+5
-5
No files matched your search
@@ -124,13 +124,13 @@ const Fallback = ({ title, checks, link = "/", isAdmin, vowelStart = false, show
|
||||
<Box sx={{ width: "80%", maxWidth: "600px", zIndex: 1 }}>
|
||||
<Box sx={{
|
||||
'& .alert.row-stack': {
|
||||
backgroundColor: theme.palette.pageSpeedWarning.main,
|
||||
borderColor: theme.palette.pageSpeedWarning.lowContrast,
|
||||
backgroundColor: theme.palette.warningSecondary.main,
|
||||
borderColor: theme.palette.warningSecondary.lowContrast,
|
||||
'& .MuiTypography-root': {
|
||||
color: theme.palette.pageSpeedWarning.contrastText
|
||||
color: theme.palette.warningSecondary.contrastText
|
||||
},
|
||||
'& .MuiBox-root > svg': {
|
||||
color: theme.palette.pageSpeedWarning.contrastText
|
||||
color: theme.palette.warningSecondary.contrastText
|
||||
}
|
||||
}
|
||||
}}>
|
||||
|
||||
@@ -236,7 +236,7 @@ const newSemanticColors = {
|
||||
},
|
||||
},
|
||||
/* Custom palette for PageSpeed warning box */
|
||||
pageSpeedWarning: {
|
||||
warningSecondary: {
|
||||
main: {
|
||||
light: paletteColors.orange50,
|
||||
dark: paletteColors.orange800,
|
||||
|
||||
Reference in new issue
Block a user