Commit 056e28d9 authored by Alexander Rechsteiner's avatar Alexander Rechsteiner Committed by XhmikosR
Browse files

Suppress text-hide deprecation warning (#26242)

parent 555333a2
3 merge requests!28721Hot test,!27561Adds font-weight-medium to font weight classes,!26470Active class
Showing with 5 additions and 3 deletions
+5 -3
// CSS image replacement // CSS image replacement
@mixin text-hide() { @mixin text-hide($ignore-warning: false) {
// stylelint-disable-next-line font-family-no-missing-generic-family-keyword // stylelint-disable-next-line font-family-no-missing-generic-family-keyword
font: 0/0 a; font: 0/0 a;
color: transparent; color: transparent;
...@@ -7,5 +7,7 @@ ...@@ -7,5 +7,7 @@
background-color: transparent; background-color: transparent;
border: 0; border: 0;
@warn "The `text-hide()` mixin has been deprecated as of v4.1.0. It will be removed entirely in v5."; @if ($ignore-warning != true) {
@warn "The `text-hide()` mixin has been deprecated as of v4.1.0. It will be removed entirely in v5.";
}
} }
...@@ -54,5 +54,5 @@ ...@@ -54,5 +54,5 @@
// Misc // Misc
.text-hide { .text-hide {
@include text-hide(); @include text-hide($ignore-warning: true);
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment