As suggested here #27338 (comment), we can deprecate the theme-color, gray, color functions. The color and gray functions are not used by Bootstrap and it's easy to remove the theme-color dependency. These functions don't really add anything to Bootstrap.
With a small changes we can make Bootstrap independent of these functions and throw a warning like we did here, so we can deprecate them in a next major release:
|
@if ($ignore-warning != true) { |
|
@warn "The `text-hide()` mixin has been deprecated as of v4.1.0. It will be removed entirely in v5."; |
|
} |
As suggested here #27338 (comment), we can deprecate the
theme-color,gray,colorfunctions. Thecolorandgrayfunctions are not used by Bootstrap and it's easy to remove thetheme-colordependency. These functions don't really add anything to Bootstrap.With a small changes we can make Bootstrap independent of these functions and throw a warning like we did here, so we can deprecate them in a next major release:
bootstrap/scss/mixins/_text-hide.scss
Lines 10 to 12 in f59c2d9