Improved Floating Button Icon style (#3428)

* Improved Floating Button Icon style

* Improve Floating Button Icon style #3420
This commit is contained in:
GARY
2024-01-14 20:06:16 +05:30
committed by GitHub
parent 8893cbc05d
commit 8c96acc2a3

View File

@ -35,7 +35,9 @@ const StyledButton = styled.button<
background: ${({ theme, isActive }) =>
isActive ? theme.background.transparent.medium : theme.background.primary};
border: ${({ focus, theme }) =>
focus ? `1px solid ${theme.color.blue}` : 'transparent'};
focus
? `1px solid ${theme.color.blue}`
: `1px solid ${theme.border.color.strong}`};
border-radius: ${({ position, theme }) => {
switch (position) {
case 'left':