Skip to content

Commit f59face

Browse files
committed
fix(hover): hover color of outlined button
Signed-off-by: Sudhanshu Dasgupta <[email protected]>
1 parent 0320125 commit f59face

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)