Skip to content

Commit

Permalink
Merge pull request #893 from sudhanshutech/hover/button
Browse files Browse the repository at this point in the history
fix hover color of outlined button
  • Loading branch information
sudhanshutech authored Jan 18, 2025
2 parents 6209c54 + f59face commit 13aa9b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/theme/components/button.modifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const MuiButton: Components<Theme>['MuiButton'] = {
root: ({ theme }) => {
const {
palette: {
background: { brand, neutral: BgNeutral },
background: { brand, hover },
text: { disabled, constant, neutral: TextNeutral },
border: { neutral }
},
Expand All @@ -24,7 +24,7 @@ export const MuiButton: Components<Theme>['MuiButton'] = {
'&.MuiButton-outlined': {
border: `1px solid ${neutral?.default}`,
'&:hover': {
backgroundColor: BgNeutral?.pressed,
backgroundColor: hover,
color: TextNeutral?.default
}
},
Expand Down

0 comments on commit 13aa9b8

Please sign in to comment.