From 282826cb1499d0bd5b6a3feef5bc68b566cd2474 Mon Sep 17 00:00:00 2001 From: Bryan Smith Date: Tue, 3 Dec 2019 11:07:47 -0800 Subject: [PATCH] Speed up switch toggle animation. --- components/Switch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Switch.js b/components/Switch.js index 5e14a5ffc..1a0eabc67 100644 --- a/components/Switch.js +++ b/components/Switch.js @@ -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); }