From fda36a3f574ce6b823d0258248eb389b8dfba774 Mon Sep 17 00:00:00 2001 From: Karishma Shukla Date: Sun, 21 Dec 2025 17:14:44 +0530 Subject: [PATCH 1/6] fix: change AlertSnackbar variant from 'filled' to 'outlined' --- src/components/ui/AlertSnackbar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/AlertSnackbar.tsx b/src/components/ui/AlertSnackbar.tsx index 3cf5c554..ad2f4d28 100644 --- a/src/components/ui/AlertSnackbar.tsx +++ b/src/components/ui/AlertSnackbar.tsx @@ -7,7 +7,7 @@ const Alert = React.forwardRef(function Alert( props, ref, ) { - return ; + return ; }); export interface AlertSnackbarProps { From a84fcb4a66e88cfb74f5b410ac4e53ab558df400 Mon Sep 17 00:00:00 2001 From: Karishma Shukla Date: Sun, 21 Dec 2025 17:15:35 +0530 Subject: [PATCH 2/6] feat: light mode outlinedInfo style for MuiAlert component --- src/context/theme-provider.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/context/theme-provider.tsx b/src/context/theme-provider.tsx index 5188f53e..b958b44f 100644 --- a/src/context/theme-provider.tsx +++ b/src/context/theme-provider.tsx @@ -65,6 +65,13 @@ const lightTheme = createTheme({ color: "#ff00c3", }, }, + outlinedInfo: { + color: '#ff00c3', + borderColor: '#ff00c3', + "& .MuiAlert-icon": { + color: "#ff00c3", + }, + }, }, }, MuiAlertTitle: { @@ -280,4 +287,4 @@ const ThemeModeProvider = ({ children }: { children: React.ReactNode }) => { ); }; -export default ThemeModeProvider; \ No newline at end of file +export default ThemeModeProvider; From d1adf42a70c7db856bb022231a7f5cb739aaccbf Mon Sep 17 00:00:00 2001 From: Karishma Shukla Date: Sun, 21 Dec 2025 17:17:48 +0530 Subject: [PATCH 3/6] feat: dark mode outlinedInfo style for MuiAlert --- src/context/theme-provider.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/context/theme-provider.tsx b/src/context/theme-provider.tsx index b958b44f..cf4e7bda 100644 --- a/src/context/theme-provider.tsx +++ b/src/context/theme-provider.tsx @@ -192,6 +192,13 @@ const darkTheme = createTheme({ color: "#ff66d9", }, }, + outlinedInfo: { + color: '#ff00c3', + borderColor: '#ff00c3', + "& .MuiAlert-icon": { + color: "#ff00c3", + }, + }, }, }, MuiAlertTitle: { From 19de4ad5a9b4c1312c6955b2fb63de6dec2cb78d Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 26 Dec 2025 19:59:00 +0530 Subject: [PATCH 4/6] chore: cleanup code --- src/context/theme-provider.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/context/theme-provider.tsx b/src/context/theme-provider.tsx index cf4e7bda..1dcdda88 100644 --- a/src/context/theme-provider.tsx +++ b/src/context/theme-provider.tsx @@ -210,7 +210,6 @@ const darkTheme = createTheme({ }, }, }, - // Additional dark mode specific components MuiPaper: { styleOverrides: { root: { @@ -247,14 +246,6 @@ const darkTheme = createTheme({ }, }, }, - // MuiTextField:{ - // styleOverrides: { - // root: { - // '& .MuiInputBase-root': { - // backgroundColor: '#1d1c1cff', - // }, - // } - // }} }, }); From b61c21c2ab6c1d6b6a149c145eb9c57f700d1b91 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 26 Dec 2025 20:01:19 +0530 Subject: [PATCH 5/6] feat: use white for outlinedInfo alerts dark moded --- src/context/theme-provider.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/context/theme-provider.tsx b/src/context/theme-provider.tsx index 1dcdda88..cb8c365f 100644 --- a/src/context/theme-provider.tsx +++ b/src/context/theme-provider.tsx @@ -193,10 +193,10 @@ const darkTheme = createTheme({ }, }, outlinedInfo: { - color: '#ff00c3', - borderColor: '#ff00c3', + color: '#ffffff', + borderColor: '#ffffff', "& .MuiAlert-icon": { - color: "#ff00c3", + color: "#ffffff", }, }, }, From 0f909116b235594a27f0c98ced020e542663614c Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 26 Dec 2025 20:04:31 +0530 Subject: [PATCH 6/6] feat: use black for outlinedInfo alerts light mode --- src/context/theme-provider.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/context/theme-provider.tsx b/src/context/theme-provider.tsx index cb8c365f..34059705 100644 --- a/src/context/theme-provider.tsx +++ b/src/context/theme-provider.tsx @@ -66,10 +66,10 @@ const lightTheme = createTheme({ }, }, outlinedInfo: { - color: '#ff00c3', - borderColor: '#ff00c3', + color: '#000000ff', + borderColor: '#000000ff', "& .MuiAlert-icon": { - color: "#ff00c3", + color: "#000000ff", }, }, },