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={{ width: "80%", maxWidth: "600px", zIndex: 1 }}>
|
||||||
<Box sx={{
|
<Box sx={{
|
||||||
'& .alert.row-stack': {
|
'& .alert.row-stack': {
|
||||||
backgroundColor: theme.palette.pageSpeedWarning.main,
|
backgroundColor: theme.palette.warningSecondary.main,
|
||||||
borderColor: theme.palette.pageSpeedWarning.lowContrast,
|
borderColor: theme.palette.warningSecondary.lowContrast,
|
||||||
'& .MuiTypography-root': {
|
'& .MuiTypography-root': {
|
||||||
color: theme.palette.pageSpeedWarning.contrastText
|
color: theme.palette.warningSecondary.contrastText
|
||||||
},
|
},
|
||||||
'& .MuiBox-root > svg': {
|
'& .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 */
|
/* Custom palette for PageSpeed warning box */
|
||||||
pageSpeedWarning: {
|
warningSecondary: {
|
||||||
main: {
|
main: {
|
||||||
light: paletteColors.orange50,
|
light: paletteColors.orange50,
|
||||||
dark: paletteColors.orange800,
|
dark: paletteColors.orange800,
|
||||||
|
|||||||
Reference in new issue
Block a user