Skip to content

The open alternative to Salesforce, designed for AI.

Fix shadow to light (#3359)

Kanav Arorad1b2ac0a6ea9
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 01e3ccb584d..6349940ec85 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'};