From 28c44d628d6bf6ad49ebefcd7607f8f9073491f4 Mon Sep 17 00:00:00 2001 From: Owaise Imdad Date: Mon, 10 Mar 2025 05:40:12 +0530 Subject: [PATCH] Removed the text component from mui themes. --- src/Utils/Theme/constants.js | 6 ------ src/Utils/Theme/globalTheme.js | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Utils/Theme/constants.js b/src/Utils/Theme/constants.js index 58e99bade..915acedc5 100644 --- a/src/Utils/Theme/constants.js +++ b/src/Utils/Theme/constants.js @@ -306,12 +306,6 @@ const newSemanticColors = { dark: newColors.blueGray900, }, }, - text: { - timePicker: { - light: paletteColors.gray300, - dark: paletteColors.gray600, - }, - }, }; export { typographyLevels, semanticColors as colors, newSemanticColors }; diff --git a/src/Utils/Theme/globalTheme.js b/src/Utils/Theme/globalTheme.js index 456cae68f..8d225e895 100644 --- a/src/Utils/Theme/globalTheme.js +++ b/src/Utils/Theme/globalTheme.js @@ -454,7 +454,7 @@ const baseTheme = (palette) => ({ backgroundColor: theme.palette.secondary.lowContrast, // General text color "& .MuiTypography-root": { - color: theme.palette.text.timePicker, + color: theme.palette.primary.contrastTextTertiary, }, // Selected time (hour/minute) color "& .Mui-selected": {