How to Customize Ant Design with React & Webpack… the Missing Guide
Geoff Miller

Is there a way to use antd theme variables in my own stiles without overriding them?

Say, I have a component with that style:

If I import antd.less then all the antd styles are going into my bundle. If a do not import antd.less it complains that @font-size-base and @text-color-secondary are undefined.