From b294800f349907326067d450972f5032d0003e92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Tue, 3 Mar 2020 17:41:37 +0100 Subject: [PATCH] Fix toggle layout buttons hovers --- src/style/atoms/_toggle.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/style/atoms/_toggle.scss b/src/style/atoms/_toggle.scss index 55dcdad..a21ab71 100644 --- a/src/style/atoms/_toggle.scss +++ b/src/style/atoms/_toggle.scss @@ -19,7 +19,7 @@ align-items: center; justify-content: center; outline: none; - transition: color 150ms $ease-inout; + transition: color 100ms; will-change: color; } button { @@ -29,8 +29,9 @@ svg { fill: $color-secondary; * { - transition: fill 150ms $ease-inout; + transition: fill 100ms; transition-delay: 0ms; + will-change: fill; } }