SelectOne: Update draft/ publish colors, fix skewed bullet

This commit is contained in:
Gustav Hansen 2022-07-28 12:20:24 +02:00
parent 06694ec71d
commit ad4c285d37

View File

@ -12,10 +12,12 @@ import isEmpty from 'lodash/isEmpty';
import { getTrad } from '../../utils';
const StyledBullet = styled.div`
flex-shrink: 0;
width: ${pxToRem(6)};
height: ${pxToRem(6)};
margin-right: ${({ theme }) => theme.spaces[2]};
background: ${({ theme, isDraft }) => theme.colors[isDraft ? 'secondary700' : 'success200']};
background-color: ${({ theme, isDraft }) =>
theme.colors[isDraft ? 'secondary600' : 'success600']};
border-radius: 50%;
cursor: pointer;
`;