From 45ff54d4d3ee06156d1a1a6f1643f532ab7152f6 Mon Sep 17 00:00:00 2001 From: mohadeseh safari Date: Mon, 14 Apr 2025 08:43:05 -0400 Subject: [PATCH] change the custom pallete name (warningSecondary) --- src/Components/Fallback/index.jsx | 8 ++++---- src/Utils/Theme/constants.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Components/Fallback/index.jsx b/src/Components/Fallback/index.jsx index 901569228..1b6ee93c7 100644 --- a/src/Components/Fallback/index.jsx +++ b/src/Components/Fallback/index.jsx @@ -124,13 +124,13 @@ const Fallback = ({ title, checks, link = "/", isAdmin, vowelStart = false, show svg': { - color: theme.palette.pageSpeedWarning.contrastText + color: theme.palette.warningSecondary.contrastText } } }}> diff --git a/src/Utils/Theme/constants.js b/src/Utils/Theme/constants.js index 8c1682e47..8c4127c3d 100644 --- a/src/Utils/Theme/constants.js +++ b/src/Utils/Theme/constants.js @@ -236,7 +236,7 @@ const newSemanticColors = { }, }, /* Custom palette for PageSpeed warning box */ - pageSpeedWarning: { + warningSecondary: { main: { light: paletteColors.orange50, dark: paletteColors.orange800,