Merge pull request #1662 from Br0wnHammer/fix/fe/profilepanel-ui

Fix: Ensure profile panel text and button visibility in dark mode
This commit is contained in:
Alexander Holliday
2025-02-09 08:25:13 -08:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -106,7 +106,7 @@ const ImageField = ({ id, src, loading, onChange, error, isRound = true, maxSize
<Typography
component="span"
fontSize="inherit"
color={theme.palette.primary.main}
color="info"
fontWeight={500}
>
Click to upload

View File

@@ -128,6 +128,10 @@ const baseTheme = (palette) => ({
"&:hover": {
boxShadow: "none",
},
"&.Mui-disabled": {
backgroundColor: theme.palette.secondary.main,
color: theme.palette.primary.contrastText,
},
"&.MuiLoadingButton-root": {
"&:disabled": {
backgroundColor: theme.palette.secondary.main,