Skip to content

Commit

Permalink
Merge pull request #65 from leadhomesa/master
Browse files Browse the repository at this point in the history
fix: πŸ› fix hover styles for silverweb
  • Loading branch information
Seagyn Davis authored Sep 18, 2019
2 parents aecf93e + e39b34b commit 8d54188
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/button/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,25 @@ export const ButtonStyle = css`
width: 20px;
}
&:hover {
text-decoration: none;
${({ color }) => {
/* eslint-disable */
switch (color) {
case 'secondary':
return SecondaryButton;
case 'warning':
return WarningButton;
case 'success':
return SuccessButton;
case 'primary':
default:
return PrimaryButton;
}
}} /* eslint-enable */
}
${({ disabled }) => disabled && Disabled};
${({ size }) => {
Expand Down

0 comments on commit 8d54188

Please sign in to comment.