Skip to content

@clayui/css: Custom Control group deprecated variables together #5485

@pat270

Description

@pat270

We have a lot of deprecated variables that we keep around for backward support. It's pretty hard to keep track of variables that are current under Clay. We should try and group them together as much as possible, ideally at the top of the file, but we have some variables that inherit un-deprecated variables which makes it hard. Here are some examples or deprecated variables:

/// @deprecated as of v2.2.1 use `$custom-control-indicator-checked-active-bg` instead
$custom-control-indicator-active-checked-bg: null !default;
$custom-control-indicator-checked-active-bg: $custom-control-indicator-active-checked-bg !default;
/// @deprecated as of v2.2.1 use `$custom-control-indicator-checked-active-border-color` instead
$custom-control-indicator-active-checked-border-color: null !default;
$custom-control-indicator-checked-active-border-color: $custom-control-indicator-active-checked-border-color !default;
/// @deprecated as of v2.2.1 use `$custom-control-indicator-checked-disabled-bg` instead
$custom-control-indicator-disabled-checked-bg: rgba($primary, 0.5) !default;
$custom-control-indicator-checked-disabled-bg: $custom-control-indicator-disabled-checked-bg !default;
/// @deprecated as of v2.2.1 use `$custom-control-indicator-checked-disabled-border-color` instead
$custom-control-indicator-disabled-checked-border-color: null !default;
$custom-control-indicator-checked-disabled-border-color: $custom-control-indicator-disabled-checked-border-color !default;

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions