From d0df50eb328b4ff30f6ce5d6f3c380b77a53ad3a Mon Sep 17 00:00:00 2001 From: Klink <85062+dogmar@users.noreply.github.com> Date: Mon, 25 Sep 2023 17:12:15 -0700 Subject: [PATCH] Fix Switch hover style --- src/components/Switch.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/Switch.tsx b/src/components/Switch.tsx index 3b3e34c2..adf4edab 100644 --- a/src/components/Switch.tsx +++ b/src/components/Switch.tsx @@ -45,9 +45,6 @@ const SwitchSC = styled.label( backgroundColor: $checked ? theme.colors['action-primary-hover'] : theme.colors['action-input-hover'], - borderColor: $checked - ? theme.colors['action-primary-hover'] - : theme.colors['action-input-hover'], }, [SwitchHandleSC]: { backgroundColor: $checked @@ -81,7 +78,7 @@ const SwitchToggleSC = styled.div( : $focused ? theme.colors['border-outline-focused'] : $checked - ? theme.colors['action-primary'] + ? 'transparent' : theme.colors['border-input'], transition: 'all 0.15s ease', })