web-custom-ui-pro 主题定制化未生效
hoosin opened this issue · 1 comments
hoosin commented
- antd-mobile 版本:2.2.3
- 浏览器 (或标明是 react-native) 及其版本:chrome 68
- 操作系统及其版本:mac 10.14 Beta (18A353d)
biz-components/style/theme.less
定制 @brand-primary 颜色未生效
// 红涨绿跌
@brand-raise: #f35833;
@brand-down: #07a168;
@brand-primary: #f10180;
hoosin commented
已经解决,原来 theme
需要在定制组件(components/xx/style/index.less
)单独引入,并没有在 biz-components 中默认引入
@import '../../style/theme.less';