1

I am using create-react-app as starter kit and was having a go at antd component library.

I can't seem to find a way to customize their styles (for branding purpose). Documentation doesn't seem to give clear directions regarding customization.

Docs link: https://ant.design/docs/react/customize-theme

They suggest two ways to do it though :

1.Using theme property . But this only works for antd-init or dva-cli boilerplates and not for create-react-app

2.Overriding Less variables .

Now to make the either of these option work for create-react-app without eject , what are the steps I need to take?

4

3 に答える 3