From 29dbb51c44eca2a3f9c52b0a4f5ead8d4590a8fc Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Tue, 12 Jan 2021 23:26:43 +0100 Subject: [PATCH] Update button animation behavior --- components/Button.tsx | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/components/Button.tsx b/components/Button.tsx index ce185be..0ac5c87 100644 --- a/components/Button.tsx +++ b/components/Button.tsx @@ -58,22 +58,9 @@ const Btn = styled.button` : 'inherit'}; } - &:focus { - color: ${({ variant, dark, theme }) => - variant === 'outline' - ? dark - ? theme.colors.dark.background - : theme.colors.light.background - : 'inherit'}; - } - &:hover::before { transform: scaleX(1); } - - &:focus::before { - transform: scaleX(1); - } `; const Button: FC = ({