Fix: Ensure profile panel text and button visibility in dark mode

This commit is contained in:
Aryaman Kumar Sharma committed 2025-01-30 01:41:19 +05:30
1 parent c250f52c60
commit 7835b852c5
2 files changed
+8 -2

No files matched your search

+1 -1
View File
@@ -99,7 +99,7 @@ const ImageField = ({ id, src, loading, onChange }) => {
<Typography <Typography
component="span" component="span"
fontSize="inherit" fontSize="inherit"
color={theme.palette.primary.main} color={theme.palette.accent.main}
fontWeight={500} fontWeight={500}
> >
Click to upload Click to upload
@@ -445,7 +445,7 @@ const ProfilePanel = () => {
> >
<Button <Button
variant="text" variant="text"
color="info" color="accent"
onClick={removePicture} onClick={removePicture}
> >
Remove Remove
@@ -460,6 +460,12 @@ const ProfilePanel = () => {
? true ? true
: false : false
} }
sx={{
"&.Mui-disabled": {
backgroundColor: theme.palette.primary.lowContrast,
color: theme.palette.primary.main,
},
}}
> >
Update Update
</Button> </Button>