import styled from "styled-components";

const SubItem = styled.div`
  display: block;
  ${(p) => p.theme.textStyle.uiM};
  color: ${(p) => p.theme.color.textHighEmphasis};
  clear: both;
  width: 100%;

  &:hover {
    cursor: pointer;
  }

  > a {
    display: flex;
    padding: ${(p) => p.theme.spacing.xs};
    border-radius: ${(p) => p.theme.radii.s};
    color: inherit;

    &:hover {
      background: ${(p) => p.theme.color.overlayHoverPrimary};
    }
  }
`;

export { SubItem };
