fix(Card): change checkmark icon to outline style

This commit is contained in:
Jordan Knott 2020-08-19 12:33:08 -05:00
parent 68d5455a85
commit abf9e1328a

View File

@ -2,7 +2,7 @@ import styled, { css, keyframes } from 'styled-components';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { mixin } from 'shared/utils/styles'; import { mixin } from 'shared/utils/styles';
import TextareaAutosize from 'react-autosize-textarea'; import TextareaAutosize from 'react-autosize-textarea';
import { CheckCircle, CheckSquare } from 'shared/icons'; import { CheckCircle, CheckSquareOutline } from 'shared/icons';
import { RefObject } from 'react'; import { RefObject } from 'react';
import TaskAssignee from 'shared/components/TaskAssignee'; import TaskAssignee from 'shared/components/TaskAssignee';
@ -12,7 +12,7 @@ export const CardMember = styled(TaskAssignee)<{ zIndex: number }>`
z-index: ${props => props.zIndex}; z-index: ${props => props.zIndex};
position: relative; position: relative;
`; `;
export const ChecklistIcon = styled(CheckSquare)<{ color: 'success' | 'normal' }>` export const ChecklistIcon = styled(CheckSquareOutline)<{ color: 'success' | 'normal' }>`
${props => ${props =>
props.color === 'success' && props.color === 'success' &&
css` css`