jloborod / cc-custom-ant-theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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",

About


Languages

Language:JavaScript 70.4%Language:HTML 29.6%