mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Suppress text-hide deprecation warning (#26242)
This commit is contained in:
parent
555333a20e
commit
056e28d9e0
@ -1,5 +1,5 @@
|
||||
// CSS image replacement
|
||||
@mixin text-hide() {
|
||||
@mixin text-hide($ignore-warning: false) {
|
||||
// stylelint-disable-next-line font-family-no-missing-generic-family-keyword
|
||||
font: 0/0 a;
|
||||
color: transparent;
|
||||
@ -7,5 +7,7 @@
|
||||
background-color: transparent;
|
||||
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 @@
|
||||
// Misc
|
||||
|
||||
.text-hide {
|
||||
@include text-hide();
|
||||
@include text-hide($ignore-warning: true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user