import styled from 'styled-components'; import { dim } from '@dim'; export const CarouselDot = styled.button.attrs({ type: 'button' })` border-radius: 100%; border: 1px solid black; background-color: ${({ active }: { active?: boolean }) => (active ? 'black' : 'white')}; transition: background-color ease-in-out 0.3s; width: ${dim()}; height: ${dim()}; display: inline-block; padding: 0; & + & { margin-left: ${dim(2)}; } &:hover { cursor: pointer; } &:focus { outline: auto 5px -webkit-focus-ring-color; } `; export const CarouselDots = styled.nav` position: relative !important; bottom: 0 !important; display: inline-block !important; `;