Skip to content

Commit

Permalink
Speed up switch toggle animation.
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanrsmith committed Dec 3, 2019
1 parent 8e31200 commit 282826c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Switch.js
Expand Up @@ -62,7 +62,7 @@ export const Switch = styled(UtilityButton).attrs(({ isChecked }) => ({
position: absolute;
top: 0;
left: var(--handle-offset-x);
transition: transform 0.2s ease-out;
transition: transform 100ms ease-out;
transform: translateX(0);
}
Expand Down

0 comments on commit 282826c

Please sign in to comment.