-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问通过roadhogrc-theme配置的antd主题,在antd-mobile项目上不生效 #136
Labels
Comments
我也遇到了这个问题 |
稍后我会在官方Demo里加一个roadhog使用的demo 请关注这里 https://github.com/ant-design/antd-mobile-samples |
官方Demo已增加与Roadhog配合使用的demo https://github.com/ant-design/antd-mobile-samples/tree/master/antm-roadhog 包括:
|
This was referenced Mar 5, 2017
lxc-xx
referenced
this issue
in dvajs/dva-example-user-dashboard
Nov 26, 2017
之前工程里面没有用less,为了改主题引入了太多的包 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请问我要如何配置antd-mobile主题?我看antd-mobile的className都有个‘am-’前缀,这个前缀在配置theme时是否可用?希望大神指点~
roadhogrc
{
"theme": "src/theme.js",
}
theme.js
/eslint-disable/
module.exports = () => {
return {
"@font-family": "Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, sans-serif",
"@primary-color": "#1DA57A",
"@link-color": "#1DA57A",
"@border-radius-base": "2px",
"@font-size-base": "14px",
"@line-height-base": "1.2"
};
};
The text was updated successfully, but these errors were encountered: