Skip to content

Commit

Permalink
[TableRow]: update hover to use theme.palette
Browse files Browse the repository at this point in the history
  • Loading branch information
Elmer Dantas committed Jan 20, 2020
1 parent 5227cb2 commit d1299c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/material-ui/src/TableRow/TableRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const styles = theme => ({
'&$hover:hover': {
backgroundColor:
theme.palette.type === 'light'
? 'rgba(0, 0, 0, 0.04)'
? theme.palette.action.hover
: 'rgba(255, 255, 255, 0.14)',
},
},
Expand Down

0 comments on commit d1299c7

Please sign in to comment.