diff --git a/packages/ui/src/components/Button/index.tsx b/packages/ui/src/components/Button/index.tsx index 93b93d2..2c53061 100644 --- a/packages/ui/src/components/Button/index.tsx +++ b/packages/ui/src/components/Button/index.tsx @@ -33,6 +33,7 @@ export const ButtonElement = styled.button` display: flex; align-items: center; border: none; + outline: none; cursor: ${(props) => props.cursor}; background: ${(props) => props.theme.colors[props.background]}; padding: ${(props) => `${props.paddingVertical}px ${props.paddingHorizontal}px`}; @@ -42,8 +43,13 @@ export const ButtonElement = styled.button` ${(props) => props.fullWidth && full()} ${(props) => props.fillStyle === 'link' && link(props)} - - &:hover, &:active { + @media(hover: hover) { + &:hover { + background: ${(props) => props.theme.colors[props.activeBackground]}; + } + } + -webkit-tap-highlight-color: transparent; + &:active { background: ${(props) => props.theme.colors[props.activeBackground]}; }