Skip to content

Commit

Permalink
changes active state color
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgalante committed Sep 11, 2017
1 parent 65cb97b commit 8e56145
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scss/mixins/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
// Easily pump out default styles, as well as :hover, :focus, :active,
// and disabled options for all buttons

@mixin button-variant($background, $border, $active-background: darken($background, 7.5%), $active-border: darken($border, 10%)) {
@mixin button-variant($background, $border, $hover-background: darken($background, 7.5%), $hover-border: darken($border, 10%), $active-background: darken($background, 12.5%), $active-border: darken($border, 15%)) {
@include color-yiq($background);
background-color: $background;
border-color: $border;
@include box-shadow($btn-box-shadow);

@include hover {
@include color-yiq($active-background);
background-color: $active-background;
border-color: $active-border;
@include color-yiq($hover-background);
background-color: $hover-background;
border-color: $hover-border;
}

&:focus,
Expand Down

0 comments on commit 8e56145

Please sign in to comment.