0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Add deprecation notice for .navbar-light

This commit is contained in:
Mark Otto 2021-07-19 21:13:39 -07:00 committed by Mark Otto
parent c9cec89764
commit 27a0f40dc8

View File

@ -274,6 +274,10 @@
// //
// Styles for switching between navbars with light or dark background. // Styles for switching between navbars with light or dark background.
.navbar-light {
@include deprecate("`.navbar-light`", "v5.2.0", "v6.0.0");
}
.navbar-dark { .navbar-dark {
--#{$variable-prefix}navbar-color: #{$navbar-dark-color}; --#{$variable-prefix}navbar-color: #{$navbar-dark-color};
--#{$variable-prefix}navbar-hover-color: #{$navbar-dark-hover-color}; --#{$variable-prefix}navbar-hover-color: #{$navbar-dark-hover-color};