Skip to content

Commit

Permalink
[Skeleton] Increase wave contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Feb 9, 2020
1 parent 40277f8 commit 0e7ea86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/material-ui-lab/src/Skeleton/Skeleton.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const styles = theme => ({
overflow: 'hidden',
'&::after': {
animation: '$wave 1.6s linear 0.5s infinite',
background: 'linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent)',
background: 'linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent)',
content: '""',
position: 'absolute',
transform: 'translateX(-100%)', // Avoid flash during server-side hydration
Expand Down

0 comments on commit 0e7ea86

Please sign in to comment.