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
@mixin text-emphasis-variant($parent, $color) {
@mixin text-emphasis-variant($parent, $color, $ignore-warning: false) {
#{$parent} {
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; }
@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; }