Skip to content

Commit

Permalink
refactor(buttons): drop useless arguments for button-variant()
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed Jul 21, 2020
1 parent 0787d39 commit eb9e01e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scss/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,16 @@
// Boosted mod: inconsistent theming ¯\_(ツ)_/¯
.btn-primary,
.btn-warning {
@include button-variant($primary, $primary, $black, $active-background: $white, $active-border: $black, $active-color: $black);
@include button-variant($primary, $primary, $active-background: $white, $active-border: $black);
}

.btn-light,
.btn-secondary {
@include button-variant($white, $black, $black, $disabled-background: $white, $disabled-border: $gray-500, $disabled-color: $gray-500);
@include button-variant($white, $black, $disabled-background: $white, $disabled-border: $gray-500, $disabled-color: $gray-500);
}

.btn-success {
@include button-variant($success, $success, $black);
@include button-variant($success, $success);
}

.btn-info,
Expand All @@ -82,7 +82,7 @@
}

.btn-danger {
@include button-variant($danger, $danger, $white);
@include button-variant($danger, $danger);
}

// Boosted mod: no .btn-outline
Expand Down

0 comments on commit eb9e01e

Please sign in to comment.