Skip to content

Deprecate theme-color, gray, color functions #27377

@MartijnCuppens

Description

@MartijnCuppens

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.";
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions