From d1b2ac0a6ea9833b69f26c3a19668749f83a1a2d Mon Sep 17 00:00:00 2001 From: Kanav Arora Date: Wed, 10 Jan 2024 21:47:31 +0530 Subject: [PATCH] Fix shadow to light (#3359) --- .../modules/ui/input/button/components/FloatingIconButton.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/twenty-front/src/modules/ui/input/button/components/FloatingIconButton.tsx b/packages/twenty-front/src/modules/ui/input/button/components/FloatingIconButton.tsx index 01e3ccb584..6349940ec8 100644 --- a/packages/twenty-front/src/modules/ui/input/button/components/FloatingIconButton.tsx +++ b/packages/twenty-front/src/modules/ui/input/button/components/FloatingIconButton.tsx @@ -50,9 +50,7 @@ const StyledButton = styled.button< }}; box-shadow: ${({ theme, applyShadow, focus }) => applyShadow - ? `0px 2px 4px ${theme.background.transparent.light}, 0px 0px 4px ${ - theme.background.transparent.medium - }${focus ? `,0 0 0 3px ${theme.color.blue10}` : ''}` + ? theme.boxShadow.light : focus ? `0 0 0 3px ${theme.color.blue10}` : 'none'};