1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

creates variables for navbar brand colors #27187

This commit is contained in:
Andres Galante 2018-09-11 07:56:56 -03:00 committed by XhmikosR
parent 6e2a823a44
commit ed3c611949
2 changed files with 9 additions and 4 deletions

View file

@ -197,10 +197,10 @@
// Dark links against a light background
.navbar-light {
.navbar-brand {
color: $navbar-light-active-color;
color: $navbar-light-brand-color;
@include hover-focus {
color: $navbar-light-active-color;
color: $navbar-light-brand-hover-color;
}
}
@ -249,10 +249,10 @@
// White links against a dark background
.navbar-dark {
.navbar-brand {
color: $navbar-dark-active-color;
color: $navbar-dark-brand-color;
@include hover-focus {
color: $navbar-dark-active-color;
color: $navbar-dark-brand-hover-color;
}
}

View file

@ -686,6 +686,11 @@ $navbar-light-disabled-color: rgba($black, .3) !default;
$navbar-light-toggler-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default;
$navbar-light-toggler-border-color: rgba($black, .1) !default;
$navbar-light-brand-color: $navbar-light-active-color !default;
$navbar-light-brand-hover-color: $navbar-light-active-color !default;
$navbar-dark-brand-color: $navbar-dark-active-color !default;
$navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
// Pagination