简体   繁体   English

在 Liferay 主题中,“clay/base”和“clay/atlas”有什么区别

[英]In a Liferay theme, what is the difference between 'clay/base' and 'clay/atlas'

I am starting to develop Liferay themes and the documentation seems to show that you should import 'clay/atlas'.我开始开发 Liferay 主题,文档似乎表明您应该导入“clay/atlas”。

I have an import for 'clay/base' instead:我有一个 'clay/base' 的导入:

@import 'clay/base';

Can someone shed some light on what the difference is and why I would use one instead of the other?有人可以解释一下有什么区别以及为什么我会使用一个而不是另一个吗?

I saw this question How to implement Clay in Liferay 7.2 , but it didn't help (in fact it confused me more).我看到了这个问题How to implement Clay in Liferay 7.2 ,但它没有帮助(实际上它让我更加困惑)。

Thanks for your time.谢谢你的时间。

After digging in deeper I think I've figured it out.在深入挖掘之后,我想我已经弄清楚了。

Both are what Liferay calls "sub-themes".两者都是 Liferay 所说的“子主题”。

clay/base is the "Base" sub-theme, which is the base implementation of Clay. Clay/base 是“Base”子主题,它是 Clay 的基础实现。 Clay is an extension of Bootstrap, and implements Liferay's Lexicon design language. Clay 是 Bootstrap 的扩展,实现了 Liferay 的 Lexicon 设计语言。

clay/atlas is the "Atlas" sub-theme, which is an enhancement of Clay and Bootstrap to provide the equivalent of a Bootstrap theme and is used to produce the look and feel of the "Classic" Liferay theme. Clay/atlas 是“Atlas”子主题,它是 Clay 和 Bootstrap 的增强,以提供等效于 Bootstrap 的主题,并用于产生“Classic”Liferay 主题的外观和感觉。

This is a summary of various pieces of information found in the Liferay documentation.这是 Liferay 文档中各种信息的总结。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM