Skip to content

Duplicate $alert Sass variables #38672

@endcoreAK

Description

@endcoreAK

Prerequisites

Describe the issue

Even if the color scale will be removed with v6 these variables are currently duplicated into variables.scss. Was this forgotten, or is there a reason regarding the documentation?

$alert-bg-scale:                -80% !default;
$alert-border-scale:            -70% !default;
$alert-color-scale:             40% !default;

$alert-bg-scale:                -80% !default; // Deprecated in v5.2.0, to be removed in v6
$alert-border-scale:            -70% !default; // Deprecated in v5.2.0, to be removed in v6
$alert-color-scale:             40% !default; // Deprecated in v5.2.0, to be removed in v6

Reduced test cases

https://github.com/twbs/bootstrap/blob/main/scss/_variables.scss#L1546-L1555

What operating system(s) are you seeing the problem on?

macOS

What browser(s) are you seeing the problem on?

No response

What version of Bootstrap are you using?

5.3.0-alpha3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions