Skip to content

Commit

Permalink
Use correct color for primary button bottom border. (#8227)
Browse files Browse the repository at this point in the history
The primary button had incorrect bottom border color. Instead of `button` it used `primary` as the base for shading.
  • Loading branch information
delawski authored and jorgefilipecosta committed Jul 31, 2018
1 parent 0a26478 commit 176bb82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/button/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

&.is-primary {
background: color( theme( button ) );
border-color: color( theme( button ) shade( 20% ) ) color( theme( button ) shade( 25% ) ) color( theme( primary ) shade( 25% ) );
border-color: color( theme( button ) shade( 20% ) ) color( theme( button ) shade( 25% ) ) color( theme( button ) shade( 25% ) );
box-shadow: inset 0 -1px 0 color( theme( button ) shade( 25% ) );
color: $white;
text-decoration: none;
Expand Down

0 comments on commit 176bb82

Please sign in to comment.