Skip to content

Commit

Permalink
fix: new modal button
Browse files Browse the repository at this point in the history
  • Loading branch information
danielstefanequilobe committed Feb 7, 2022
1 parent fe26788 commit 009cff9
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/components/form/PrimaryButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ const Button = styled('button')`
background-color: ${props => (props.danger ? '#FF7875' : '#40A9FF')};
}
&:focus {
background-color: ${props => (props.danger ? '#FF7875' : '#40A9FF')};
}
&:active {
background-color: ${props => (props.danger ? '#F5222D' : '#096DD9')};
}
Expand All @@ -54,7 +50,7 @@ const Button = styled('button')`
if (props.loading) {
return `
background-color: white;
:hover, :focus, :active {
:hover, :active {
background-color: white;
};
h4 { color: #BFBFBF };
Expand All @@ -64,7 +60,6 @@ const Button = styled('button')`
return css`
background-color: white;
:hover,
:focus,
:active {
background-color: white;
}
Expand All @@ -77,8 +72,7 @@ const Button = styled('button')`
h4 {
color: #262626;
}
h4:hover,
h4:focus {
h4:hover {
color: #40a9ff;
}
h4:active {
Expand Down

0 comments on commit 009cff9

Please sign in to comment.