change the custom pallete name (warningSecondary)

This commit is contained in:
mohadeseh safari committed 2025-04-14 08:43:05 -04:00
1 parent 251891b359
commit 45ff54d4d3
2 files changed
+5 -5

No files matched your search

+4 -4
View File
@@ -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
}
}
}}>
+1 -1
View File
@@ -236,7 +236,7 @@ const newSemanticColors = {
},
},
/* Custom palette for PageSpeed warning box */
pageSpeedWarning: {
warningSecondary: {
main: {
light: paletteColors.orange50,
dark: paletteColors.orange800,