From d58dadedc9fe94c89904ee36838c841cfb997c0f Mon Sep 17 00:00:00 2001 From: Vasek Mlejnsky Date: Thu, 30 Aug 2018 14:43:06 +0200 Subject: [PATCH] Fix input state colors --- src/components/Input/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Input/index.js b/src/components/Input/index.js index 616bb5ef..81cd94e9 100644 --- a/src/components/Input/index.js +++ b/src/components/Input/index.js @@ -21,19 +21,19 @@ const StyledInput = styled.input` } ${props => props.isValid && css` - background-color: ${colors.SUCCESS_PRIMARY}; + border-color: ${colors.SUCCESS_PRIMARY}; &:focus { box-shadow: 0 1px 4px 0 rgba(1, 183, 87, 0.25); } `} ${props => props.isWarning && css` - background-color: ${colors.WARNING_PRIMARY}; + border-color: ${colors.WARNING_PRIMARY}; &:focus { box-shadow: 0 1px 4px 0 rgba(235, 138, 0, 0.25); } `} ${props => props.isError && css` - background-color: ${colors.ERROR_PRIMARY}; + border-color: ${colors.ERROR_PRIMARY}; &:focus { box-shadow: 0 1px 4px 0 rgba(255, 111, 109, 0.25); }