在 Atlasboard 中配置主题时,我知道您可以在 中设置全局主题config/theming.js
,但是有没有办法让单个仪表板使用与其他仪表板不同的主题?
问问题
258 次
1 回答
0
我还没有尝试过,但看起来你可以从 1.0 版中做到这一点。请参阅Atlasboard 概述中的“主题支持” 。以下说明可能有效
在 {yourcurrentwallboard} 中定义您的主题名称
{yourcurrentwallboard}/themes/{themename}/variables.styl
为 {yourcurrentwallboard} 设置定义的主题
{yourwallboard}/config/theming.js
module.exports = {
theme: '{themename}'
};
于 2016-06-05T13:57:18.290 回答