已淘汰的变量迁移到Liferay 7.2

问题描述 投票:0回答:1

在主题从Liferay 7迁移到Liferay 7.2的过程中,我遇到了以下问题。请告诉我用什么代替这些不推荐使用的变量?

$state-danger-text was deprecated in Lexicon CSS 1.x.x and has been removed in the new Clay 2.x.x version
    $state-info-bg was deprecated in Lexicon CSS 1.x.x and has been removed in the new Clay 2.x.x version
    $state-info-border was deprecated in Lexicon CSS 1.x.x and has been removed in the new Clay 2.x.x version
    $state-info-text was deprecated in Lexicon CSS 1.x.x and has been removed in the new Clay 2.x.x version
    $state-success-border was deprecated in Lexicon CSS 1.x.x and has been removed in the new Clay 2.x.x version
    $state-success-text was deprecated in Lexicon CSS 1.x.x and has been removed in the new Clay 2.x.x version
    $state-warning-border was deprecated in Lexicon CSS 1.x.x and has been removed in the new Clay 2.x.x version
    $state-warning-text was deprecated in Lexicon CSS 1.x.x and has been removed in the new Clay 2.x.x version
and many more...
migration liferay-7 liferay-aui liferay-7.2
1个回答
0
投票

我想您打电话给gulp upgrade以获取该输出。

根据the migration guide,您只需要删除这些变量。它们是在您的主题文件之一(例如_variables_custom.scss)中定义的,不再需要。

© www.soinside.com 2019 - 2024. All rights reserved.