Skip to content

Commit

Permalink
Remove unused border color
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Mar 30, 2022
1 parent a2bbc33 commit fe370af
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/mui-material/src/Button/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,7 @@ const ButtonRoot = styled(ButtonBase, {
}),
...(ownerState.variant === 'outlined' && {
padding: '5px 15px',
border: `1px solid ${
// TODO v6: Revisit this value, doesn't depend on the theme
theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'
}`,
border: '1px solid currentColor',
}),
...(ownerState.variant === 'outlined' &&
ownerState.color !== 'inherit' && {
Expand Down

0 comments on commit fe370af

Please sign in to comment.