Browse Source

docs: fix customize theme doc url (#38928)

pull/38943/head
afc163 2 years ago
committed by GitHub
parent
commit
be9c46ccac
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      CHANGELOG.en-US.md
  2. 2
      CHANGELOG.zh-CN.md
  3. 2
      components/config-provider/index.en-US.md
  4. 2
      components/config-provider/index.zh-CN.md
  5. 2
      docs/react/use-in-typescript.en-US.md
  6. 2
      docs/react/use-in-typescript.zh-CN.md
  7. 2
      docs/react/use-with-create-react-app.en-US.md
  8. 2
      docs/react/use-with-create-react-app.zh-CN.md

2
CHANGELOG.en-US.md

@ -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)

2
CHANGELOG.zh-CN.md

@ -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)

2
components/config-provider/index.en-US.md

@ -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+`

2
components/config-provider/index.zh-CN.md

@ -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+`

2
docs/react/use-in-typescript.en-US.md

@ -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';

2
docs/react/use-in-typescript.zh-CN.md

@ -100,7 +100,7 @@ module.exports = {
### 自定义主题
参考 [配置主题](/docs/react/customize-theme-v5),通过 ConfigProvider 进行主题配置:
参考 [配置主题](/docs/react/customize-theme),通过 ConfigProvider 进行主题配置:
```tsx
import React from 'react';

2
docs/react/use-with-create-react-app.en-US.md

@ -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';

2
docs/react/use-with-create-react-app.zh-CN.md

@ -112,7 +112,7 @@ module.exports = {
### 自定义主题
参考 [配置主题](/docs/react/customize-theme-v5),通过 ConfigProvider 进行主题配置:
参考 [配置主题](/docs/react/customize-theme),通过 ConfigProvider 进行主题配置:
```tsx
import React from 'react';

Loading…
Cancel
Save