diff --git a/docs/react/migrate-less-variables.en-US.md b/docs/react/migrate-less-variables.en-US.md index 93d0768d25..7a80100496 100644 --- a/docs/react/migrate-less-variables.en-US.md +++ b/docs/react/migrate-less-variables.en-US.md @@ -429,7 +429,18 @@ This document contains the correspondence between all the less variables related - +### Tooltip + + +| Less variables | Component Token | Note | +| --- | --- | --- | +| `@tooltip-max-width` | - | Can be directly modified by `className` or `style` | +| `@tooltip-color` | `colorTextLightSolid` | Global Token | +| `@tooltip-bg` | `colorBgSpotlight` | Global Token | +| `@tooltip-arrow-width` | `sizePopupArrow` | Global Token | +| `@tooltip-distance` | `marginXXS` | Global Token | +| `@tooltip-arrow-color` | - | same as `@tooltip-bg`,Deprecated | +| `@tooltip-border-radius` | `borderRadius` | Global Token | ### Transfer diff --git a/docs/react/migrate-less-variables.zh-CN.md b/docs/react/migrate-less-variables.zh-CN.md index f60cbada97..b17fe5516a 100644 --- a/docs/react/migrate-less-variables.zh-CN.md +++ b/docs/react/migrate-less-variables.zh-CN.md @@ -426,7 +426,18 @@ Mentions 提及 - +### Tooltip 文字提示 + + +| less 变量 | Component Token | 备注 | +| --- | --- | --- | +| `@tooltip-max-width` | - | 可由 `className` 或 `style` 直接修改 | +| `@tooltip-color` | `colorTextLightSolid` | 全局 Token | +| `@tooltip-bg` | `colorBgSpotlight` | 全局 token | +| `@tooltip-arrow-width` | `sizePopupArrow` | 全局 Token | +| `@tooltip-distance` | `marginXXS` | 全局 Token | +| `@tooltip-arrow-color` | - | 同 `@tooltip-bg`,已废弃 | +| `@tooltip-border-radius` | `borderRadius` | 全局 Token | Transfer 穿梭框