Skip to content

Commit

Permalink
changes timing function for progress ring animation
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanBreck committed Oct 12, 2023
1 parent f317cc6 commit d76302b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/components/progress/progressRing.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
type: 'string',
description: 'The rate that the indeterminate spinner spins at'
},
'--leo-progressring-easing': {
type: 'string',
description: 'The easing function that the indeterminate spinner uses'
},
'--leo-progressring-color': {
type: 'string',
control: 'color',
Expand Down
2 changes: 1 addition & 1 deletion src/components/progress/progressRing.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
animation-duration: var(--spin-rate);
animation-name: spin;
animation-iteration-count: infinite;
animation-timing-function: linear;
animation-timing-function: cubic-bezier(0.17, 0.67, 0.83, 0.67);
}
circle {
Expand Down

0 comments on commit d76302b

Please sign in to comment.