Skip to content

Commit

Permalink
chore: update modal button disable style
Browse files Browse the repository at this point in the history
Signed-off-by: Rudraksh Tyagi <[email protected]>
  • Loading branch information
dragon-slayer875 committed May 1, 2024
1 parent d73d381 commit 7525019
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/custom/Modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ export const ModalButtonPrimary: React.FC = styled(ContainedButton)(({ theme })
backgroundColor: theme.palette.background.brand?.default,
color: theme.palette.text.constant?.white,
'&.MuiButton-contained.Mui-disabled': {
color: theme.palette.grey[700],
backgroundColor: theme.palette.grey[400]
color: theme.palette.text.disabled,
backgroundColor: theme.palette.primary.disabled
}
}));

Expand All @@ -190,9 +190,9 @@ export const ModalButtonSecondary = styled(OutlinedButton)(({ theme }) => ({
}
},
'&.MuiButton-outlined.Mui-disabled': {
color: theme.palette.grey[700],
color: theme.palette.text.disabled,
border: 'none',
backgroundColor: theme.palette.grey[400]
backgroundColor: theme.palette.secondary.disabled
}
}));

Expand Down

0 comments on commit 7525019

Please sign in to comment.