Fix shadow to light (#3359)

This commit is contained in:
Kanav Arora 2024-01-10 21:47:31 +05:30 committed by GitHub
parent 176e840728
commit d1b2ac0a6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'};