Skip to content

Commit 13aa9b8

Browse files
Merge pull request #893 from sudhanshutech/hover/button
fix hover color of outlined button
2 parents 6209c54 + f59face commit 13aa9b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/theme/components/button.modifier.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const MuiButton: Components<Theme>['MuiButton'] = {
55
root: ({ theme }) => {
66
const {
77
palette: {
8-
background: { brand, neutral: BgNeutral },
8+
background: { brand, hover },
99
text: { disabled, constant, neutral: TextNeutral },
1010
border: { neutral }
1111
},
@@ -24,7 +24,7 @@ export const MuiButton: Components<Theme>['MuiButton'] = {
2424
'&.MuiButton-outlined': {
2525
border: `1px solid ${neutral?.default}`,
2626
'&:hover': {
27-
backgroundColor: BgNeutral?.pressed,
27+
backgroundColor: hover,
2828
color: TextNeutral?.default
2929
}
3030
},

0 commit comments

Comments
 (0)