From 250d2c83455a40f0e175e7e9d4981511d626aad9 Mon Sep 17 00:00:00 2001 From: Brian Lovin Date: Sun, 13 Jan 2019 15:50:07 -0800 Subject: [PATCH] Green checkmark --- components/ChecklistItem/index.js | 1 + components/ChecklistItem/style.js | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/components/ChecklistItem/index.js b/components/ChecklistItem/index.js index 5c74a60..1d1ea6e 100644 --- a/components/ChecklistItem/index.js +++ b/components/ChecklistItem/index.js @@ -57,6 +57,7 @@ class ChecklistItem extends React.Component { + {resource.apps && ( diff --git a/components/ChecklistItem/style.js b/components/ChecklistItem/style.js index ddc17ff..f245072 100644 --- a/components/ChecklistItem/style.js +++ b/components/ChecklistItem/style.js @@ -72,16 +72,17 @@ export const Checkbox = styled.span` height: 32px; border-radius: 4px; border: 1px solid - ${props => (props.isChecked ? theme.brand.default : theme.border.default)}; + ${props => (props.isChecked ? theme.success.default : theme.border.default)}; background: ${props => - props.isChecked ? theme.brand.default : theme.bg.wash}; + props.isChecked ? theme.success.default : theme.bg.wash}; cursor: pointer; position: relative; &:hover { ${Shadows.default}; border: 1px solid - ${props => (props.isChecked ? theme.brand.default : theme.border.active)}; + ${props => + props.isChecked ? theme.success.default : theme.border.active}; } &:after {