Skip to content

Commit

Permalink
[TableRow]: updated hover and selected css
Browse files Browse the repository at this point in the history
  • Loading branch information
Elmer Dantas committed Jan 20, 2020
1 parent d1299c7 commit 02dd837
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/material-ui/src/TableRow/TableRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ export const styles = theme => ({
'&$selected': {
backgroundColor:
theme.palette.type === 'light'
? fade(theme.palette.primary.main, 0.04)
? fade(theme.palette.secondary.main, 0.04)
: 'rgba(255, 255, 255, 0.08)',
},
'&$hover:hover': {
'&$hover:not($selected):hover': {
backgroundColor:
theme.palette.type === 'light'
? theme.palette.action.hover
Expand Down

0 comments on commit 02dd837

Please sign in to comment.