0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-30 22:52:24 +01:00

Add deprecation warning

This commit is contained in:
Martijn Cuppens 2019-08-17 21:51:12 +02:00
parent 9e1ef5623f
commit 6381c63fb1
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
// Typography // Typography
@mixin text-emphasis-variant($parent, $color) { @mixin text-emphasis-variant($parent, $color, $ignore-warning: false) {
#{$parent} { #{$parent} {
color: $color !important; color: $color !important;
} }
@ -13,4 +13,5 @@
} }
} }
} }
@include deprecate("`text-emphasis-variant()`", "v4.4.0", "v5", $ignore-warning);
} }

View File

@ -45,7 +45,7 @@
.text-white { color: $white !important; } .text-white { color: $white !important; }
@each $color, $value in $theme-colors { @each $color, $value in $theme-colors {
@include text-emphasis-variant(".text-#{$color}", $value); @include text-emphasis-variant(".text-#{$color}", $value, true);
} }
.text-body { color: $body-color !important; } .text-body { color: $body-color !important; }