From 73c94a374db3ec25c60344a84331d03b71a3030b Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Mon, 17 Sep 2018 15:46:52 +0200 Subject: [PATCH] Fixed checkbox hover style --- src/components/Checkbox/index.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/Checkbox/index.js b/src/components/Checkbox/index.js index 1f4eef2b..5e65eed9 100644 --- a/src/components/Checkbox/index.js +++ b/src/components/Checkbox/index.js @@ -34,8 +34,9 @@ const IconWrapper = styled.div` &:hover, &:focus { - border: 1px solid ${colors.TEXT_PRIMARY}; - background: ${props => (props.checked ? colors.TEXT_PRIMARY : colors.WHITE)}; + border: 1px solid ${colors.GREEN_PRIMARY}; + color: ${colors.WHITE}; + background: ${props => (props.checked ? colors.GREEN_PRIMARY : colors.WHITE)}; } `; @@ -74,7 +75,12 @@ class Checkbox extends PureComponent { {checked && ( - + ) }