CC Ant Design Custom Theme
How to customise Ant Design:https://ant.design/docs/react/customize-theme
Bootstrap the project
$ npm install
$ npm start
How does it work?
Create a custom theme.js
:
module.exports = () => {
return {
'primary-color': '#1088ae',
};
};
Add theme
reference in package.json
as it follows:
// Add
"theme": "./theme.js",