mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
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
This commit is contained in:
parent
84ce248f06
commit
b3aa5ec360
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user