backToIssues.tsx 628 B

1234567891011121314151617181920212223242526272829
  1. import {Link} from 'react-router';
  2. import styled from '@emotion/styled';
  3. import space from 'app/styles/space';
  4. const BackToIssues = styled(Link)`
  5. display: flex;
  6. width: ${space(1.5)};
  7. height: ${space(1.5)};
  8. align-items: center;
  9. justify-content: center;
  10. box-sizing: content-box;
  11. padding: ${space(1)};
  12. border-radius: 50%;
  13. color: ${p => p.theme.textColor};
  14. background: ${p => p.theme.backgroundSecondary};
  15. transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  16. z-index: 1;
  17. &:hover {
  18. background: ${p => p.theme.background};
  19. transform: scale(1.125);
  20. }
  21. `;
  22. export default BackToIssues;