在 SMACSS 中我应该在哪里定义颜色?
我在 base\base.css 中为一般内容定义了我的基本字体,但我的页脚需要不同颜色的字体。我是否应该在我的layout/footer.css中声明它,以便它可以级联到组件,如下所示:
.l-footer {
background: #333333;
margin: auto;
color: #FFFFFF; /* Here ? */
}
或者,在位于modules/testimonial.css的页脚内的实际组件的模块级别。
.testimonial {
color: #FFFFFF; /* Or here ? */
}
是否有任何文档或链接讨论此问题?
非常感谢。