Skip to content

Commit

Permalink
Fix tertiary hover styles. Use tertiary color (#37)
Browse files Browse the repository at this point in the history
Fix tertiary hover styles. Use tertiary color
  • Loading branch information
domyen authored Jun 27, 2019
2 parents 62dd509 + 0c5d48d commit f303fe7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,16 +206,16 @@ const ButtonWrapper = styled.button`
${!props.isLoading &&
`
&:hover {
background: ${darken(0.05, color.secondary)};
background: ${darken(0.05, color.tertiary)};
}
&:active {
box-shadow: rgba(0, 0, 0, 0.1) 0 0 0 3em inset;
}
&:focus {
box-shadow: ${rgba(color.secondary, 0.4)} 0 1px 9px 2px;
box-shadow: ${rgba(color.tertiary, 0.4)} 0 1px 9px 2px;
}
&:focus:hover {
box-shadow: ${rgba(color.secondary, 0.2)} 0 8px 18px 0px;
box-shadow: ${rgba(color.tertiary, 0.2)} 0 8px 18px 0px;
}
`}
`}
Expand Down

0 comments on commit f303fe7

Please sign in to comment.