Skip to content

Commit

Permalink
fix: πŸ› fix hover styles for silverweb
Browse files Browse the repository at this point in the history
  • Loading branch information
Seagyn Davis committed Sep 18, 2019
1 parent d174163 commit e07e83d
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 e07e83d

Please sign in to comment.