|
@ -97,6 +97,7 @@ Follow [Use in create-react-app](/docs/react/use-with-create-react-app). |
|
|
Another approach to customize theme is creating a `less` file within variables to override `antd.less`. |
|
|
Another approach to customize theme is creating a `less` file within variables to override `antd.less`. |
|
|
|
|
|
|
|
|
```css |
|
|
```css |
|
|
|
|
|
@import '~antd/es/style/themes/default.less'; |
|
|
@import '~antd/dist/antd.less'; // Import Ant Design styles by less entry |
|
|
@import '~antd/dist/antd.less'; // Import Ant Design styles by less entry |
|
|
@import 'your-theme-file.less'; // variables to override above |
|
|
@import 'your-theme-file.less'; // variables to override above |
|
|
``` |
|
|
``` |
|
|