From c15106121f89eb0e62d58cbd1463bc271ec427bb Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Thu, 24 Oct 2024 06:55:58 +0530 Subject: [PATCH] feat: override alert title icon styles --- src/App.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/App.tsx b/src/App.tsx index ab2cfd9c..6409955d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -63,12 +63,25 @@ const theme = createTheme({ standardInfo: { backgroundColor: "#fce1f4", color: "#ff00c3", + '& .MuiAlert-icon': { + color: "#ff00c3", + }, + }, + }, + }, + MuiAlertTitle: { + styleOverrides: { + root: { + '& .MuiAlert-icon': { + color: "#ffffff", + }, }, }, }, }, }); + function App() { return (