From ef61160942c679387abfede2c80d366fb0c948f6 Mon Sep 17 00:00:00 2001 From: dingkang Date: Mon, 28 Aug 2023 11:27:27 +0800 Subject: [PATCH] doc: update token note (#44447) --- docs/react/migrate-less-variables.en-US.md | 6 +++--- docs/react/migrate-less-variables.zh-CN.md | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/react/migrate-less-variables.en-US.md b/docs/react/migrate-less-variables.en-US.md index 629632b02a..9d7ff908c8 100644 --- a/docs/react/migrate-less-variables.en-US.md +++ b/docs/react/migrate-less-variables.en-US.md @@ -253,7 +253,7 @@ export default App; | `@checkbox-size` | `controlInteractiveSize` | GlobalToken | | `@checkbox-color` | `colorPrimary` | - | | `@checkbox-check-color` | `colorWhite` | - | -| `@checkbox-check-bg` | - | `colorPrimary` | +| `@checkbox-check-bg` | `colorPrimary` | GlobalToken | | `@checkbox-border-width` | `lineWidth` | - | | `@checkbox-border-radius` | `borderRadiusSM` | - | | `@checkbox-group-item-margin-right` | - | Deprecated for style change | @@ -335,7 +335,7 @@ export default App; | Less variables | Component Token | Note | | ------------------------------------ | --------------------- | ----------- | -| `@dropdown-selected-color` | `colorPrimary` | - | +| `@dropdown-selected-color` | `colorPrimary` | GlobalToken | | `@dropdown-menu-submenu-disabled-bg` | `colorBgElevated` | GlobalToken | | `@dropdown-selected-bg` | `controlItemBgActive` | GlobalToken | @@ -565,7 +565,7 @@ export default App; | Less variables | Component Token | Note | | --- | --- | --- | -| `@popover-bg` | `colorBgContainer` | - | +| `@popover-bg` | `colorBgElevated` | GlobalToken | | `@popover-color` | `colorText` | GlobalToken | | `@popover-min-width` | `minWidth` | - | | `@popover-min-height` | - | Deprecated for style change | diff --git a/docs/react/migrate-less-variables.zh-CN.md b/docs/react/migrate-less-variables.zh-CN.md index bbf6d31297..d6ede713cf 100644 --- a/docs/react/migrate-less-variables.zh-CN.md +++ b/docs/react/migrate-less-variables.zh-CN.md @@ -251,9 +251,9 @@ export default App; | Less 变量 | Component Token | 备注 | | --- | --- | --- | | `@checkbox-size` | `controlInteractiveSize` | 全局 Token | -| `@checkbox-color` | `colorPrimary` | - | +| `@checkbox-color` | `colorPrimary` | 全局 Token | | `@checkbox-check-color` | `colorWhite` | - | -| `@checkbox-check-bg` | - | `colorPrimary` | +| `@checkbox-check-bg` | `colorPrimary` | 全局 Token | | `@checkbox-border-width` | `lineWidth` | - | | `@checkbox-border-radius` | `borderRadiusSM` | - | | `@checkbox-group-item-margin-right` | - | 由于样式变化已废弃 | @@ -334,7 +334,7 @@ export default App; | Less 变量 | Component Token | 备注 | | ------------------------------------ | --------------------- | ---------- | -| `@dropdown-selected-color` | `colorPrimary` | - | +| `@dropdown-selected-color` | `colorPrimary` | 全局 Token | | `@dropdown-menu-submenu-disabled-bg` | `colorBgElevated` | 全局 Token | | `@dropdown-selected-bg` | `controlItemBgActive` | 全局 Token | @@ -460,7 +460,7 @@ Mentions 提及 | less 变量 | Component Token | 备注 | | --- | --- | --- | -| `@mentions-dropdown-bg` | `colorBgElevated` | - | +| `@mentions-dropdown-bg` | `colorBgElevated` | 全局 Token | | `@mentions-dropdown-menu-item-hover-bg` | - | 已废弃 | ### Menu 导航菜单 @@ -566,7 +566,7 @@ Mentions 提及 | Less variables | Component Token | Note | | --- | --- | --- | -| `@popover-bg` | `colorBgElevated` | - | +| `@popover-bg` | `colorBgElevated` | 全局 Token | | `@popover-color` | `colorText` | 全局 Token | | `@popover-min-width` | `minWidth` | - | | `@popover-min-height` | - | 已废弃 |