Skip to content

Commit

Permalink
Merge pull request #1662 from Br0wnHammer/fix/fe/profilepanel-ui
Browse files Browse the repository at this point in the history
Fix: Ensure profile panel text and button visibility in dark mode
  • Loading branch information
ajhollid authored Feb 9, 2025
2 parents e838e43 + 263427d commit 6911d72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Client/src/Components/Inputs/Image/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions Client/src/Utils/Theme/globalTheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6911d72

Please sign in to comment.