Skip to content

Commit

Permalink
Add deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MartijnCuppens committed Aug 17, 2019
1 parent 9519b9e commit 9fb79de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scss/mixins/_text-emphasis.scss
Expand Up @@ -2,7 +2,7 @@

// Typography

@mixin text-emphasis-variant($parent, $color) {
@mixin text-emphasis-variant($parent, $color, $ignore-warning: false) {
#{$parent} {
color: $color !important;
}
Expand All @@ -13,4 +13,5 @@
}
}
}
@include deprecate("`text-emphasis-variant()`", "v4.4.0", "v5", $ignore-warning);
}
2 changes: 1 addition & 1 deletion scss/utilities/_text.scss
Expand Up @@ -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; }
Expand Down

0 comments on commit 9fb79de

Please sign in to comment.