All files / components/footer styles.ts

100% Statements 5/5
100% Branches 0/0
100% Functions 2/2
100% Lines 5/5

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33      4x 7x                       4x 7x                           4x  
import styled, { css } from 'styled-components';
import media from 'styled-media-query';
 
export const Container = styled.footer`
  ${({ theme }) => css`
    text-align: center;
    width: min(100%, 57rem);
    color: ${theme.colors.white};
    font-size: ${theme.font.sizes.small};
 
    ${media.greaterThan('medium')`
      font-size: ${theme.font.sizes.medium};
    `}
  `}
`;
 
export const MadeBy = styled.p`
  ${({ theme }) => css`
    margin-top: calc(${theme.spacings.xsmall} / 2);
 
    a {
      color: ${theme.colors.white};
 
      &:hover {
        color: ${theme.colors.primary};
        text-decoration: underline;
      }
    }
  `}
`;
 
export const Copy = styled.strong``;