【发布时间】:2019-10-03 17:29:54
【问题描述】:
我有以下 scss 风格。我已将 bg 颜色添加为变量,并且工作正常。我还需要添加“icons.png”作为变量。
.home {
@include themify($themes) {
background: url(images/icons.png) themed('bgcolor');
}
}
如何将“icons.png”添加为名副其实?喜欢
背景:url(images/VARIABLENAME) themed('bgcolor');
【问题讨论】:
-
什么是“主题”?
-
$themesvar 包含什么?themifymixin 是做什么的?
标签: css sass scss-mixins