Subject of the issue
The .item-color-visited() mixin still references the deprecated variables @visited and @visited-inverted. All of the other styles here use the newer @item-foo variables.
|
.item-color-visited() { |
|
background-color: @visited; |
|
color: @visited-inverted; |
|
} |
|
|
@kirsty-hames Is there a reason why we've kept this one using the deprecated variables? If not, should they now use @item-color-visited and @item-color-inverted-visited? There is a note that @visited is only used by presentation components. However, as it's marked deprecated, is the assumption that it will eventually be removed?
Note that I was specifically looking at Accordion here.
|
// DEPRECATED |
|
// replaced by @item-color-visited and @item-color-inverted-visited |
|
// Note: @visited is only used by presentation components |
|
@visited: darken(@item-color, 15%); |
|
@visited-inverted: @item-color-inverted; |
|
// |
|
|
|
@item-color-visited: @visited; |
|
@item-color-inverted-visited: @visited-inverted; |
Subject of the issue
The
.item-color-visited()mixin still references the deprecated variables@visitedand@visited-inverted. All of the other styles here use the newer@item-foovariables.adapt-contrib-vanilla/less/_defaults/_buttonMixins/_item.less
Lines 28 to 32 in 32e4fbe
@kirsty-hames Is there a reason why we've kept this one using the deprecated variables? If not, should they now use
@item-color-visitedand@item-color-inverted-visited? There is a note that@visited is only used by presentation components. However, as it's marked deprecated, is the assumption that it will eventually be removed?Note that I was specifically looking at Accordion here.
adapt-contrib-vanilla/less/_defaults/_colors.less
Lines 46 to 54 in 32e4fbe