Migration 不推荐迁移到Liferay 7.2的变量
在主题从Liferay 7迁移到Liferay 7.2的过程中,我遇到了以下问题。请告诉我用什么来代替这些不推荐使用的变量Migration 不推荐迁移到Liferay 7.2的变量,migration,liferay-7,liferay-aui,liferay-7.2,Migration,Liferay 7,Liferay Aui,Liferay 7.2,在主题从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
$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...
我猜你打电话给
gulpupgrade
是为了得到输出
根据需要,您只需删除这些变量。它们在您的一个主题文件(例如
\u variables\u custom.scs
)中定义,不再需要它们了。主题迁移到7.2将更改结构使用以下步骤
那么你就可以开始了。但是在我的代码中,我使用了其中一些变量,那么用什么来代替它们呢?