Merge pull request #949 from getmaxun/theme-sync

feat: sync theme w cloud
This commit is contained in:
Karishma Shukla
2026-01-22 18:57:49 +05:30
committed by GitHub

View File

@@ -81,6 +81,13 @@ const lightTheme = createTheme({
}, },
MuiAlert: { MuiAlert: {
styleOverrides: { styleOverrides: {
outlinedInfo: {
color: 'rgb(0, 0, 0)',
border: 'none',
"& .MuiAlert-icon": {
color: "#000000",
},
},
standardInfo: { standardInfo: {
backgroundColor: "#fce1f4", backgroundColor: "#fce1f4",
color: "#ff00c3", color: "#ff00c3",
@@ -88,22 +95,6 @@ const lightTheme = createTheme({
color: "#ff00c3", color: "#ff00c3",
}, },
}, },
outlinedInfo: {
color: '#000000ff',
borderColor: '#000000ff',
"& .MuiAlert-icon": {
color: "#000000ff",
},
},
},
},
MuiAlertTitle: {
styleOverrides: {
root: {
"& .MuiAlert-icon": {
color: "#ffffff",
},
},
}, },
}, },
}, },
@@ -231,31 +222,23 @@ const darkTheme = createTheme({
}, },
MuiAlert: { MuiAlert: {
styleOverrides: { styleOverrides: {
standardInfo: {
backgroundColor: "rgba(255, 0, 195, 0.15)",
color: "#ff66d9",
"& .MuiAlert-icon": {
color: "#ff66d9",
},
},
outlinedInfo: { outlinedInfo: {
color: '#ffffff', color: '#ffffff',
borderColor: '#ffffff', border: 'none',
"& .MuiAlert-icon": { "& .MuiAlert-icon": {
color: "#ffffff", color: "#ffffff",
}, },
}, },
}, standardInfo: {
}, backgroundColor: "#080808ff",
MuiAlertTitle: { color: "#ff00c3",
styleOverrides: {
root: {
"& .MuiAlert-icon": { "& .MuiAlert-icon": {
color: "#ff66d9", color: "#ff00c3",
}, },
}, },
}, },
}, },
// Additional dark mode specific components
MuiPaper: { MuiPaper: {
styleOverrides: { styleOverrides: {
root: { root: {
@@ -292,6 +275,14 @@ const darkTheme = createTheme({
}, },
}, },
}, },
// MuiTextField:{
// styleOverrides: {
// root: {
// '& .MuiInputBase-root': {
// backgroundColor: '#1d1c1cff',
// },
// }
// }}
}, },
}); });