Skip to content

Commit

Permalink
docs: fix customize theme doc url (ant-design#38928)
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 authored Nov 24, 2022
1 parent 0f26e51 commit be9c46c
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ timeline: true
- 🆕 Default algorithm `theme.defaultAlgorithm`. [#36175](https://github.com/ant-design/ant-design/pull/36175)
- 🆕 Dark algorithm `theme.darkAlgorithm`. [#36546](https://github.com/ant-design/ant-design/pull/36546) [#36656](https://github.com/ant-design/ant-design/pull/36656)
- 🆕 Compact algorithm `theme.compactAlgorithm`. [#38105](https://github.com/ant-design/ant-design/pull/38105)
- 🆕 ConfigProvider support `theme` prop to modify theme configuration. For more: [Customize Theme](https://ant.design/docs/react/customize-theme-v5).
- 🆕 ConfigProvider support `theme` prop to modify theme configuration. For more: [Customize Theme](https://ant.design/docs/react/customize-theme).
- 🆕 Support multiple `algorithm` pipeline. [#37082](https://github.com/ant-design/ant-design/pull/37082)
- 🆕 Support switching wireframe style. [#37507](https://github.com/ant-design/ant-design/pull/37507)
- 🆕 Support override Design Token for single component. [#37568](https://github.com/ant-design/ant-design/pull/37568)
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ timeline: true
- 🆕 默认算法 `theme.defaultAlgorithm`[#36175](https://github.com/ant-design/ant-design/pull/36175)
- 🆕 暗色算法 `theme.darkAlgorithm`[#36546](https://github.com/ant-design/ant-design/pull/36546) [#36656](https://github.com/ant-design/ant-design/pull/36656)
- 🆕 紧凑算法 `theme.compactAlgorithm`[#38105](https://github.com/ant-design/ant-design/pull/38105)
- 🆕 ConfigProvider 新增 `theme` 属性,用于更改主题配置,详情:[定制主题](https://ant.design/docs/react/customize-theme-v5-cn)
- 🆕 ConfigProvider 新增 `theme` 属性,用于更改主题配置,详情:[定制主题](https://ant.design/docs/react/customize-theme-cn)
- 🆕 支持多个 `algorithm`[#37082](https://github.com/ant-design/ant-design/pull/37082)
- 🆕 支持线框化切换。[#37507](https://github.com/ant-design/ant-design/pull/37507)
- 🆕 支持覆盖单个组件的主题变量。[#37568](https://github.com/ant-design/ant-design/pull/37568)
Expand Down
2 changes: 1 addition & 1 deletion components/config-provider/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Some components use dynamic style to support wave effect. You can config `csp` p
| prefixCls | Set prefix className | string | `ant` | |
| renderEmpty | Set empty content of components. Ref [Empty](/components/empty/) | function(componentName: string): ReactNode | - | |
| space | Set Space `size`, ref [Space](/components/space) | { size: `small` \| `middle` \| `large` \| `number` } | - | 4.1.0 |
| theme | Set theme, ref [Customize Theme](/docs/react/customize-theme-v5) | - | - | 5.0.0 |
| theme | Set theme, ref [Customize Theme](/docs/react/customize-theme) | - | - | 5.0.0 |
| virtual | Disable virtual scroll when set to `false` | boolean | - | 4.3.0 |

### ConfigProvider.config() `4.13.0+`
Expand Down
2 changes: 1 addition & 1 deletion components/config-provider/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default () => (
| prefixCls | 设置统一样式前缀 | string | `ant` | |
| renderEmpty | 自定义组件空状态。参考 [空状态](/components/empty/) | function(componentName: string): ReactNode | - | |
| space | 设置 Space 的 `size`,参考 [Space](/components/space) | { size: `small` \| `middle` \| `large` \| `number` } | - | 4.1.0 |
| theme | 设置主题,参考 [定制主题](/docs/react/customize-theme-v5-cn) | - | - | 5.0.0 |
| theme | 设置主题,参考 [定制主题](/docs/react/customize-theme-cn) | - | - | 5.0.0 |
| virtual | 设置 `false` 时关闭虚拟滚动 | boolean | - | 4.3.0 |

### ConfigProvider.config() `4.13.0+`
Expand Down
2 changes: 1 addition & 1 deletion docs/react/use-in-typescript.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ module.exports = {

### Customize Theme

Ref to the [Customize Theme documentation](/docs/react/customize-theme-v5). Modify theme with ConfigProvider:
Ref to the [Customize Theme documentation](/docs/react/customize-theme). Modify theme with ConfigProvider:

```tsx
import React from 'react';
Expand Down
2 changes: 1 addition & 1 deletion docs/react/use-in-typescript.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ module.exports = {

### 自定义主题

参考 [配置主题](/docs/react/customize-theme-v5),通过 ConfigProvider 进行主题配置:
参考 [配置主题](/docs/react/customize-theme),通过 ConfigProvider 进行主题配置:

```tsx
import React from 'react';
Expand Down
2 changes: 1 addition & 1 deletion docs/react/use-with-create-react-app.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ module.exports = {

### Customize Theme

Ref to the [Customize Theme documentation](/docs/react/customize-theme-v5). Modify theme with ConfigProvider:
Ref to the [Customize Theme documentation](/docs/react/customize-theme). Modify theme with ConfigProvider:

```tsx
import React from 'react';
Expand Down
2 changes: 1 addition & 1 deletion docs/react/use-with-create-react-app.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ module.exports = {

### 自定义主题

参考 [配置主题](/docs/react/customize-theme-v5),通过 ConfigProvider 进行主题配置:
参考 [配置主题](/docs/react/customize-theme),通过 ConfigProvider 进行主题配置:

```tsx
import React from 'react';
Expand Down

0 comments on commit be9c46c

Please sign in to comment.