Skip to content

Commit

Permalink
[Skeleton][joy-ui] Soften the pulse animation (#38384)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanivan authored Aug 9, 2023
1 parent 5f9f8d6 commit 515609c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mui-joy/src/Skeleton/Skeleton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const SkeletonRoot = styled('span', {
ownerState.variant !== 'inline' &&
css`
&::before {
animation: ${pulseKeyframe} 1.5s ease-in-out 0.5s infinite;
animation: ${pulseKeyframe} 2s ease-in-out 0.5s infinite;
background: ${theme.vars.palette.background.level3};
}
`,
Expand All @@ -80,7 +80,7 @@ const SkeletonRoot = styled('span', {
ownerState.variant === 'inline' &&
css`
&::after {
animation: ${pulseKeyframe} 1.5s ease-in-out 0.5s infinite;
animation: ${pulseKeyframe} 2s ease-in-out 0.5s infinite;
background: ${theme.vars.palette.background.level3};
}
`,
Expand Down

0 comments on commit 515609c

Please sign in to comment.