chore: address PR comments

This commit is contained in:
fragosti
2018-11-02 14:21:04 -07:00
parent 819ba14303
commit cc4ccda623
5 changed files with 24 additions and 18 deletions

View File

@@ -70,7 +70,9 @@ export const Container =
&:hover {
${props =>
props.darkenOnHover
? `background-color: ${darken(0.05, props.theme[props.backgroundColor || 'white'])}`
? `background-color: ${
props.backgroundColor ? darken(0.05, props.theme[props.backgroundColor]) : 'none'
}`
: ''};
}
`;