Move into the 'dist' directory inside the antd package.
Create a file with the following content and name it 'my-theme.less'
@import "./antd.less"; // Import Ant Design styles by less entry
@primary-color: #d228e9; // primary color for all components
@link-color: #1890ff; // link color
@success-color: #52c41a; // success state color