This is meant to supplement this article on how to customize Ant Design.
-
npm install
-
npm start
-
go to http://localhost:8080/
$ tree --charset unicode
.
|-- LICENSE
|-- README.md
|-- index.html
|-- package.json
|-- fonts
|-- scripts
| |-- index.js
| `-- welcome-message.js
`-- webpack.config.js
Edit the less variables in scripts/ant-theme-vars.less
.
A list of available ant theme variables can be found at https://github.com/ant-design/ant-design/blob/master/components/style/themes/default.less
Fonts have been configured to be served locally instead of the default Alibaba CDN. You can easily move the fonts to your own CDN and point the webpack themeVariables["@icon-url"]
to your new CDN url.
- Forked from Yefim Vedernikoff's boilerplate