Skip to content

Commit

Permalink
Use btn-$variant-color variables for outlined btns (#22164)
Browse files Browse the repository at this point in the history
Despite now having the ability to override outline-variant color, it's not actually being used so each are still #fff

Related: #20734
intellix authored and mdo committed Mar 13, 2017
1 parent 84ce248 commit b3aa5ec
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scss/_buttons.scss
Original file line number Diff line number Diff line change
@@ -73,22 +73,22 @@ fieldset[disabled] a.btn {

// Remove all backgrounds
.btn-outline-primary {
@include button-outline-variant($btn-primary-bg);
@include button-outline-variant($btn-primary-bg, $btn-primary-color);
}
.btn-outline-secondary {
@include button-outline-variant($btn-secondary-border);
@include button-outline-variant($btn-secondary-border, $btn-secondary-color);
}
.btn-outline-info {
@include button-outline-variant($btn-info-bg);
@include button-outline-variant($btn-info-bg, $btn-info-color);
}
.btn-outline-success {
@include button-outline-variant($btn-success-bg);
@include button-outline-variant($btn-success-bg, $btn-success-color);
}
.btn-outline-warning {
@include button-outline-variant($btn-warning-bg);
@include button-outline-variant($btn-warning-bg, $btn-warning-color);
}
.btn-outline-danger {
@include button-outline-variant($btn-danger-bg);
@include button-outline-variant($btn-danger-bg, $btn-danger-color);
}


0 comments on commit b3aa5ec

Please sign in to comment.