我使用Magento Blank作为父主题。更改Magento 2.0主题中的CSS
我在/app/design/frontend/MYVENDORNAME/MYTHEMENAME/web/css/source/
包含此代码创建_theme.less.css
:
@button-primary__background: @color-orange-red1;
@button-primary__hover__background: @color-orange-red4;
@button-primary__border: 1px solid @color-orange-red2;
@button-primary__hover__border: 1px solid @color-orange-red2;
我已清空缓存。
但按钮仍然是蓝色的。
我在做什么错?
开始http://devdocs.magento.com/guides/v2.0/frontend -dev引导/ CSS-主题/ CSS-preprocess.html。 –