Skip to content

Commit

Permalink
fix(hover): hover color of outlined button
Browse files Browse the repository at this point in the history
Signed-off-by: Sudhanshu Dasgupta <dasguptashivam23@gmail.com>
sudhanshutech committed Jan 18, 2025
1 parent 0320125 commit f59face
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
@@ -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 }
},
@@ -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
}
},

0 comments on commit f59face

Please sign in to comment.