docs: 📖 update customize-theme

This commit is contained in:
afc163
2020-04-26 18:36:35 +08:00
parent 7e53cc7f2a
commit 75440c47c8
2 changed files with 2 additions and 0 deletions

View File

@@ -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`.
```css
@import '~antd/es/style/themes/default.less';
@import '~antd/dist/antd.less'; // Import Ant Design styles by less entry
@import 'your-theme-file.less'; // variables to override above
```