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
component="span"
fontSize="inherit"
color={theme.palette.primary.main}
color={theme.palette.accent.main}
fontWeight={500}
>
Click to upload
@@ -445,7 +445,7 @@ const ProfilePanel = () => {
>
<Button
variant="text"
color="info"
color="accent"
onClick={removePicture}
>
Remove
@@ -460,6 +460,12 @@ const ProfilePanel = () => {
? true
: false
}
sx={{
"&.Mui-disabled": {
backgroundColor: theme.palette.primary.lowContrast,
color: theme.palette.primary.main,
},
}}
>
Update
</Button>