mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
doc: update token note (#44447)
This commit is contained in:
parent
c07d61a2c9
commit
ef61160942
@ -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;
|
||||
<!-- prettier-ignore -->
|
||||
| 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 |
|
||||
|
@ -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 提及
|
||||
<!-- prettier-ignore -->
|
||||
| less 变量 | Component Token | 备注 |
|
||||
| --- | --- | --- |
|
||||
| `@mentions-dropdown-bg` | `colorBgElevated` | - |
|
||||
| `@mentions-dropdown-bg` | `colorBgElevated` | 全局 Token |
|
||||
| `@mentions-dropdown-menu-item-hover-bg` | - | 已废弃 |
|
||||
|
||||
### Menu 导航菜单
|
||||
@ -566,7 +566,7 @@ Mentions 提及
|
||||
<!-- prettier-ignore -->
|
||||
| Less variables | Component Token | Note |
|
||||
| --- | --- | --- |
|
||||
| `@popover-bg` | `colorBgElevated` | - |
|
||||
| `@popover-bg` | `colorBgElevated` | 全局 Token |
|
||||
| `@popover-color` | `colorText` | 全局 Token |
|
||||
| `@popover-min-width` | `minWidth` | - |
|
||||
| `@popover-min-height` | - | 已废弃 |
|
||||
|
Loading…
Reference in New Issue
Block a user