Skip to content

Commit

Permalink
chore: fix typo (ant-design#22734)
Browse files Browse the repository at this point in the history
  • Loading branch information
AshoneA authored Mar 30, 2020
1 parent 9bb1eb9 commit e719440
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/react/customize-theme.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Method 2: Import [antd/dist/antd.dark.less](https://unpkg.com/browse/[email protected]/di

```less
@import '~antd/dist/antd.dark.less'; // Introduce the official dark less style entry file
@import '~antd/dist/antd.compact.less';
@import '~antd/dist/antd.compact.less'; // Introduce the official compact less style entry file
```

If the project does not use Less, you can import [antd.dark.css](https://unpkg.com/browse/[email protected]/dist/antd.dark.css) or [antd/dist/antd.compact.css](https://unpkg.com/browse/[email protected]/dist/antd.compact.css) in the CSS file:
Expand Down
2 changes: 1 addition & 1 deletion docs/react/customize-theme.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ module.exports = {

```less
@import '~antd/dist/antd.dark.less'; // 引入官方提供的暗色 less 样式入口文件
@import '~antd/dist/antd.compact.less'; // 引入官方提供的暗色 less 样式入口文件
@import '~antd/dist/antd.compact.less'; // 引入官方提供的紧凑 less 样式入口文件
```

如果项目不使用 Less,可在 CSS 文件中全量引入 [antd.dark.css](https://unpkg.com/browse/[email protected]/dist/antd.dark.css)[antd.compact.css](https://unpkg.com/browse/[email protected]/dist/antd.compact.css)
Expand Down

0 comments on commit e719440

Please sign in to comment.