Fix SnackBar visual (#5569)
cf https://discord.com/channels/1130383047699738754/1243478998810497054
This commit is contained in:
@ -30,10 +30,8 @@ const StyledButton = styled.button<
|
||||
>
|
||||
>`
|
||||
align-items: center;
|
||||
backdrop-filter: ${({ applyBlur }) =>
|
||||
applyBlur
|
||||
? 'blur(12px) saturate(200%) contrast(50%) brightness(130%)'
|
||||
: 'none'};
|
||||
backdrop-filter: ${({ theme, applyBlur }) =>
|
||||
applyBlur ? theme.blur.medium : 'none'};
|
||||
background: ${({ theme, isActive }) =>
|
||||
isActive ? theme.background.transparent.medium : theme.background.primary};
|
||||
border: ${({ focus, theme }) =>
|
||||
|
||||
Reference in New Issue
Block a user