@njshaoshao/we-theme
v1.0.0
Published
WE Design Theme for Ant Design
Downloads
3
Readme
Ant Design theme variables for WE-Design.
Still being experimental, welcome to try out and help us to improve it.
Install
$ npm install @njshaoshao/we-theme
Usage
webpack
import weTheme from '@njshaoshao/we-theme';
// webpack.config.js: less-loader
{
loader: 'less-loader',
options: {
modifyVars: weTheme,
},
},
umi
https://umijs.org/config/#theme
import weTheme from '@njshaoshao/we-theme';
// config.js or .umirc.js
export default {
"theme": weTheme,
}
Use in Ant Design Pro: https://github.com/ant-design/ant-design-pro/pull/2946/
less
@import "~@njshaoshao/we-theme/index.less";