From b3aa5ec36032b9d377163640b1f5ba153a3c2d1c Mon Sep 17 00:00:00 2001 From: Dominic Watson Date: Mon, 13 Mar 2017 02:25:56 +0100 Subject: [PATCH] Use btn-$variant-color variables for outlined btns (#22164) Despite now having the ability to override outline-variant color, it's not actually being used so each are still #fff Related: https://github.com/twbs/bootstrap/pull/20734 --- scss/_buttons.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scss/_buttons.scss b/scss/_buttons.scss index e36ff0f1f664..2964a526d067 100644 --- a/scss/_buttons.scss +++ b/scss/_buttons.scss @@ -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); }