diff options
author | Martijn Cuppens <martijn.cuppens@gmail.com> | 2019-08-17 22:51:12 +0300 |
---|---|---|
committer | Martijn Cuppens <martijn.cuppens@gmail.com> | 2019-08-26 10:29:50 +0300 |
commit | 6381c63fb1c81d87b38327a56c0d471d20cbd1aa (patch) | |
tree | 28bac2cb2cf5620a37092b2f6f2452bbe13c7e5e | |
parent | 9e1ef5623f09cc5ff19ec1887cee442caa68044a (diff) |
Add deprecation warning
-rw-r--r-- | scss/mixins/_text-emphasis.scss | 3 | ||||
-rw-r--r-- | scss/utilities/_text.scss | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/scss/mixins/_text-emphasis.scss b/scss/mixins/_text-emphasis.scss index 1739e2d08d..5eb8a55154 100644 --- a/scss/mixins/_text-emphasis.scss +++ b/scss/mixins/_text-emphasis.scss @@ -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); } diff --git a/scss/utilities/_text.scss b/scss/utilities/_text.scss index ce1565032b..5d0f1c845f 100644 --- a/scss/utilities/_text.scss +++ b/scss/utilities/_text.scss @@ -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; } |