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; |
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:
clay/packages/clay-css/src/scss/variables/_custom-forms.scss
Lines 62 to 80 in 70003b9