2022-11-30 11:48:47 +08:00
|
|
|
|
import type * as React from 'react';
|
|
|
|
|
import type { MapToken } from './maps';
|
|
|
|
|
|
|
|
|
|
// ======================================================================
|
|
|
|
|
// == Alias Token ==
|
|
|
|
|
// ======================================================================
|
|
|
|
|
// 🔥🔥🔥🔥🔥🔥🔥 DO NOT MODIFY THIS. PLEASE CONTACT DESIGNER. 🔥🔥🔥🔥🔥🔥🔥
|
|
|
|
|
|
|
|
|
|
export interface AliasToken extends MapToken {
|
|
|
|
|
// Background
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 内容区域背景色(悬停)
|
|
|
|
|
* @nameEN Background color of content area (hover)
|
|
|
|
|
* @desc 控制内容区域背景色在鼠标悬停时的样式。
|
|
|
|
|
* @descEN Control the style of background color of content area when mouse hovers over it.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
colorFillContentHover: string;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 替代背景色
|
|
|
|
|
* @nameEN Alternative background color
|
|
|
|
|
* @desc 控制元素替代背景色。
|
|
|
|
|
* @descEN Control the alternative background color of element.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
colorFillAlter: string;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 内容区域背景色
|
|
|
|
|
* @nameEN Background color of content area
|
|
|
|
|
* @desc 控制内容区域的背景色。
|
|
|
|
|
* @descEN Control the background color of content area.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
colorFillContent: string;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 容器禁用态下的背景色
|
|
|
|
|
* @nameEN Disabled container background color
|
|
|
|
|
* @desc 控制容器在禁用状态下的背景色。
|
|
|
|
|
* @descEN Control the background color of container in disabled state.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
colorBgContainerDisabled: string;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 文本悬停态背景色
|
|
|
|
|
* @nameEN Text hover background color
|
|
|
|
|
* @desc 控制文本在悬停状态下的背景色。
|
|
|
|
|
* @descEN Control the background color of text in hover state.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
colorBgTextHover: string;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 文本激活态背景色
|
|
|
|
|
* @nameEN Text active background color
|
|
|
|
|
* @desc 控制文本在激活状态下的背景色。
|
|
|
|
|
* @descEN Control the background color of text in active state.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
colorBgTextActive: string;
|
|
|
|
|
|
|
|
|
|
// Border
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 背景边框颜色
|
|
|
|
|
* @nameEN Background border color
|
|
|
|
|
* @desc 控制元素背景边框的颜色。
|
|
|
|
|
* @descEN Control the color of background border of element.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
colorBorderBg: string;
|
|
|
|
|
/**
|
|
|
|
|
* @nameZH 分割线颜色
|
2023-07-18 18:22:47 +08:00
|
|
|
|
* @nameEN Separator Color
|
2022-11-30 11:48:47 +08:00
|
|
|
|
* @desc 用于作为分割线的颜色,此颜色和 colorBorderSecondary 的颜色一致,但是用的是透明色。
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @descEN Used as the color of separator, this color is the same as colorBorderSecondary but with transparency.
|
2022-11-30 11:48:47 +08:00
|
|
|
|
*/
|
|
|
|
|
colorSplit: string;
|
|
|
|
|
|
|
|
|
|
// Text
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 占位文本颜色
|
2023-07-18 18:22:47 +08:00
|
|
|
|
* @nameEN Placeholder Text Color
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @desc 控制占位文本的颜色。
|
|
|
|
|
* @descEN Control the color of placeholder text.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
colorTextPlaceholder: string;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 禁用字体颜色
|
2023-07-18 18:22:47 +08:00
|
|
|
|
* @nameEN Disabled Text Color
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @desc 控制禁用状态下的字体颜色。
|
|
|
|
|
* @descEN Control the color of text in disabled state.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
colorTextDisabled: string;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 标题字体颜色
|
2023-07-18 18:22:47 +08:00
|
|
|
|
* @nameEN Heading Text Color
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @desc 控制标题字体颜色。
|
|
|
|
|
* @descEN Control the font color of heading.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
colorTextHeading: string;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 文本标签字体颜色
|
|
|
|
|
* @nameEN Text label font color
|
|
|
|
|
* @desc 控制文本标签字体颜色。
|
|
|
|
|
* @descEN Control the font color of text label.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
colorTextLabel: string;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 文本描述字体颜色
|
|
|
|
|
* @nameEN Text description font color
|
|
|
|
|
* @desc 控制文本描述字体颜色。
|
|
|
|
|
* @descEN Control the font color of text description.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
colorTextDescription: string;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 固定文本高亮颜色
|
|
|
|
|
* @nameEN Fixed text highlight color
|
|
|
|
|
* @desc 控制带背景色的文本,例如 Primary Button 组件中的文本高亮颜色。
|
|
|
|
|
* @descEN Control the highlight color of text with background color, such as the text in Primary Button components.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
colorTextLightSolid: string;
|
|
|
|
|
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
/**
|
|
|
|
|
* @nameZH 弱操作图标颜色
|
|
|
|
|
* @nameEN Weak action icon color
|
|
|
|
|
* @desc 控制弱操作图标的颜色,例如 allowClear 或 Alert 关闭按钮。
|
|
|
|
|
* @descEN Weak action. Such as `allowClear` or Alert close button
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
colorIcon: string;
|
2023-06-26 11:23:50 +08:00
|
|
|
|
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/** */
|
|
|
|
|
/**
|
|
|
|
|
* @nameZH 弱操作图标悬浮态颜色
|
|
|
|
|
* @nameEN Weak action icon hover color
|
|
|
|
|
* @desc 控制弱操作图标在悬浮状态下的颜色,例如 allowClear 或 Alert 关闭按钮。
|
|
|
|
|
* @descEN Weak action hover color. Such as `allowClear` or Alert close button
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
colorIconHover: string;
|
|
|
|
|
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 高亮颜色
|
|
|
|
|
* @nameEN Highlight color
|
|
|
|
|
* @desc 控制页面元素高亮时的颜色。
|
|
|
|
|
* @descEN Control the color of page element when highlighted.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
colorHighlight: string;
|
|
|
|
|
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 输入组件的 Outline 颜色
|
|
|
|
|
* @nameEN Input component outline color
|
|
|
|
|
* @desc 控制输入组件的外轮廓线颜色。
|
|
|
|
|
* @descEN Control the outline color of input component.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
controlOutline: string;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @nameZH 警告状态下的 Outline 颜色
|
|
|
|
|
* @nameEN Warning outline color
|
|
|
|
|
* @desc 控制输入组件警告状态下的外轮廓线颜色。
|
|
|
|
|
* @descEN Control the outline color of input component in warning state.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
colorWarningOutline: string;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 错误状态下的 Outline 颜色
|
|
|
|
|
* @nameEN Error outline color
|
|
|
|
|
* @desc 控制输入组件错误状态下的外轮廓线颜色。
|
|
|
|
|
* @descEN Control the outline color of input component in error state.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
colorErrorOutline: string;
|
|
|
|
|
|
|
|
|
|
// Font
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 选择器、级联选择器等中的操作图标字体大小
|
|
|
|
|
* @nameEN Operation icon font size in Select, Cascader, etc.
|
|
|
|
|
* @desc 控制选择器、级联选择器等中的操作图标字体大小。正常情况下与 fontSizeSM 相同。
|
|
|
|
|
* @descEN Control the font size of operation icon in Select, Cascader, etc. Normally same as fontSizeSM.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
fontSizeIcon: number;
|
|
|
|
|
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 标题类组件(如 h1、h2、h3)或选中项的字体粗细
|
|
|
|
|
* @nameEN Font weight for heading components (such as h1, h2, h3) or selected item
|
|
|
|
|
* @desc 控制标题类组件(如 h1、h2、h3)或选中项的字体粗细。
|
|
|
|
|
* @descEN Control the font weight of heading components (such as h1, h2, h3) or selected item.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
fontWeightStrong: number;
|
|
|
|
|
|
|
|
|
|
// Control
|
2023-03-17 14:21:42 +08:00
|
|
|
|
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 输入组件的外轮廓线宽度
|
|
|
|
|
* @nameEN Input component outline width
|
|
|
|
|
* @desc 控制输入组件的外轮廓线宽度。
|
|
|
|
|
* @descEN Control the outline width of input component.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
controlOutlineWidth: number;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @nameZH 控制组件项在鼠标悬浮时的背景颜色
|
|
|
|
|
* @nameEN Background color of control component item when hovering
|
|
|
|
|
* @desc 控制组件项在鼠标悬浮时的背景颜色。
|
|
|
|
|
* @descEN Control the background color of control component item when hovering.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
controlItemBgHover: string; // Note. It also is a color
|
2023-03-17 14:21:42 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @nameZH 控制组件项在激活状态下的背景颜色
|
|
|
|
|
* @nameEN Background color of control component item when active
|
|
|
|
|
* @desc 控制组件项在激活状态下的背景颜色。
|
|
|
|
|
* @descEN Control the background color of control component item when active.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
controlItemBgActive: string; // Note. It also is a color
|
2023-03-17 14:21:42 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @nameZH 控制组件项在鼠标悬浮且激活状态下的背景颜色
|
|
|
|
|
* @nameEN Background color of control component item when hovering and active
|
|
|
|
|
* @desc 控制组件项在鼠标悬浮且激活状态下的背景颜色。
|
|
|
|
|
* @descEN Control the background color of control component item when hovering and active.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
controlItemBgActiveHover: string; // Note. It also is a color
|
2023-03-17 14:21:42 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @nameZH 控制组件的交互大小
|
|
|
|
|
* @nameEN Interactive size of control component
|
|
|
|
|
* @desc 控制组件的交互大小。
|
|
|
|
|
* @descEN Control the interactive size of control component.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
controlInteractiveSize: number;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @nameZH 控制组件项在禁用状态下的激活背景颜色
|
|
|
|
|
* @nameEN Background color of control component item when active and disabled
|
|
|
|
|
* @desc 控制组件项在禁用状态下的激活背景颜色。
|
|
|
|
|
* @descEN Control the background color of control component item when active and disabled.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
controlItemBgActiveDisabled: string; // Note. It also is a color
|
|
|
|
|
|
2023-02-22 10:34:38 +08:00
|
|
|
|
// Line
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 线条宽度(聚焦态)
|
|
|
|
|
* @nameEN Line width(focus state)
|
|
|
|
|
* @desc 控制线条的宽度,当组件处于聚焦态时。
|
|
|
|
|
* @descEN Control the width of the line when the component is in focus state.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2023-02-22 10:34:38 +08:00
|
|
|
|
lineWidthFocus: number;
|
|
|
|
|
|
2022-11-30 11:48:47 +08:00
|
|
|
|
// Padding
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 极小内间距
|
|
|
|
|
* @nameEN Extra extra small padding
|
|
|
|
|
* @desc 控制元素的极小内间距。
|
|
|
|
|
* @descEN Control the extra extra small padding of the element.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
paddingXXS: number;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 特小内间距
|
|
|
|
|
* @nameEN Extra small padding
|
|
|
|
|
* @desc 控制元素的特小内间距。
|
|
|
|
|
* @descEN Control the extra small padding of the element.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
paddingXS: number;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 小内间距
|
|
|
|
|
* @nameEN Small padding
|
|
|
|
|
* @desc 控制元素的小内间距。
|
|
|
|
|
* @descEN Control the small padding of the element.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
paddingSM: number;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 内间距
|
|
|
|
|
* @nameEN Padding
|
|
|
|
|
* @desc 控制元素的内间距。
|
|
|
|
|
* @descEN Control the padding of the element.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
padding: number;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 中等内间距
|
|
|
|
|
* @nameEN Medium padding
|
|
|
|
|
* @desc 控制元素的中等内间距。
|
|
|
|
|
* @descEN Control the medium padding of the element.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
paddingMD: number;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 大内间距
|
|
|
|
|
* @nameEN Large padding
|
|
|
|
|
* @desc 控制元素的大内间距。
|
|
|
|
|
* @descEN Control the large padding of the element.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
paddingLG: number;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 特大内间距
|
|
|
|
|
* @nameEN Extra large padding
|
|
|
|
|
* @desc 控制元素的特大内间距。
|
|
|
|
|
* @descEN Control the extra large padding of the element.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
paddingXL: number;
|
|
|
|
|
|
|
|
|
|
// Padding Content
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 内容水平内间距(LG)
|
|
|
|
|
* @nameEN Content horizontal padding (LG)
|
|
|
|
|
* @desc 控制内容元素水平内间距,适用于大屏幕设备。
|
|
|
|
|
* @descEN Control the horizontal padding of content element, suitable for large screen devices.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
paddingContentHorizontalLG: number;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 内容水平内间距
|
|
|
|
|
* @nameEN Content horizontal padding
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @desc 控制内容元素水平内间距。
|
2023-03-12 14:13:03 +08:00
|
|
|
|
* @descEN Control the horizontal padding of content element.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
paddingContentHorizontal: number;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 内容水平内间距(SM)
|
|
|
|
|
* @nameEN Content horizontal padding (SM)
|
|
|
|
|
* @desc 控制内容元素水平内间距,适用于小屏幕设备。
|
|
|
|
|
* @descEN Control the horizontal padding of content element, suitable for small screen devices.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
paddingContentHorizontalSM: number;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 内容垂直内间距(LG)
|
|
|
|
|
* @nameEN Content vertical padding (LG)
|
|
|
|
|
* @desc 控制内容元素垂直内间距,适用于大屏幕设备。
|
|
|
|
|
* @descEN Control the vertical padding of content element, suitable for large screen devices.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
paddingContentVerticalLG: number;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 内容垂直内间距
|
|
|
|
|
* @nameEN Content vertical padding
|
|
|
|
|
* @desc 控制内容元素垂直内间距。
|
|
|
|
|
* @descEN Control the vertical padding of content element.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
paddingContentVertical: number;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 内容垂直内间距(SM)
|
|
|
|
|
* @nameEN Content vertical padding (SM)
|
|
|
|
|
* @desc 控制内容元素垂直内间距,适用于小屏幕设备。
|
|
|
|
|
* @descEN Control the vertical padding of content element, suitable for small screen devices.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
paddingContentVerticalSM: number;
|
|
|
|
|
|
|
|
|
|
// Margin
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 外边距 XXS
|
|
|
|
|
* @nameEN Margin XXS
|
|
|
|
|
* @desc 控制元素外边距,最小尺寸。
|
|
|
|
|
* @descEN Control the margin of an element, with the smallest size.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
marginXXS: number;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 外边距 XS
|
|
|
|
|
* @nameEN Margin XS
|
|
|
|
|
* @desc 控制元素外边距,小尺寸。
|
|
|
|
|
* @descEN Control the margin of an element, with a small size.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
marginXS: number;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 外边距 SM
|
|
|
|
|
* @nameEN Margin SM
|
|
|
|
|
* @desc 控制元素外边距,中小尺寸。
|
|
|
|
|
* @descEN Control the margin of an element, with a medium-small size.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
marginSM: number;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 外边距
|
|
|
|
|
* @nameEN Margin
|
|
|
|
|
* @desc 控制元素外边距,中等尺寸。
|
|
|
|
|
* @descEN Control the margin of an element, with a medium size.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
margin: number;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 外边距 MD
|
|
|
|
|
* @nameEN Margin MD
|
|
|
|
|
* @desc 控制元素外边距,中大尺寸。
|
|
|
|
|
* @descEN Control the margin of an element, with a medium-large size.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
marginMD: number;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 外边距 LG
|
|
|
|
|
* @nameEN Margin LG
|
|
|
|
|
* @desc 控制元素外边距,大尺寸。
|
|
|
|
|
* @descEN Control the margin of an element, with a large size.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
marginLG: number;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 外边距 XL
|
|
|
|
|
* @nameEN Margin XL
|
|
|
|
|
* @desc 控制元素外边距,超大尺寸。
|
|
|
|
|
* @descEN Control the margin of an element, with an extra-large size.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
marginXL: number;
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 外边距 XXL
|
|
|
|
|
* @nameEN Margin XXL
|
|
|
|
|
* @desc 控制元素外边距,最大尺寸。
|
|
|
|
|
* @descEN Control the margin of an element, with the largest size.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
marginXXL: number;
|
|
|
|
|
|
|
|
|
|
// =============== Legacy: should be remove ===============
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 加载状态透明度
|
|
|
|
|
* @nameEN Loading opacity
|
|
|
|
|
* @desc 控制加载状态的透明度。
|
|
|
|
|
* @descEN Control the opacity of the loading state.
|
2023-03-12 14:13:03 +08:00
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
opacityLoading: number;
|
|
|
|
|
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 一级阴影
|
|
|
|
|
* @nameEN Box shadow
|
|
|
|
|
* @desc 控制元素阴影样式。
|
|
|
|
|
* @descEN Control the box shadow style of an element.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
boxShadow: string;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 二级阴影
|
|
|
|
|
* @nameEN Secondary box shadow
|
|
|
|
|
* @desc 控制元素二级阴影样式。
|
|
|
|
|
* @descEN Control the secondary box shadow style of an element.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
boxShadowSecondary: string;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 三级阴影
|
|
|
|
|
* @nameEN Tertiary box shadow
|
|
|
|
|
* @desc 控制元素三级盒子阴影样式。
|
|
|
|
|
* @descEN Control the tertiary box shadow style of an element.
|
|
|
|
|
*/
|
2023-02-03 11:20:21 +08:00
|
|
|
|
boxShadowTertiary: string;
|
2022-11-30 11:48:47 +08:00
|
|
|
|
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 链接文本装饰
|
|
|
|
|
* @nameEN Link text decoration
|
|
|
|
|
* @desc 控制链接文本的装饰样式。
|
|
|
|
|
* @descEN Control the text decoration style of a link.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
linkDecoration: React.CSSProperties['textDecoration'];
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 链接鼠标悬浮时文本装饰
|
|
|
|
|
* @nameEN Link text decoration on mouse hover
|
|
|
|
|
* @desc 控制链接鼠标悬浮时文本的装饰样式。
|
|
|
|
|
* @descEN Control the text decoration style of a link on mouse hover.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
linkHoverDecoration: React.CSSProperties['textDecoration'];
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 链接聚焦时文本装饰
|
|
|
|
|
* @nameEN Link text decoration on focus
|
|
|
|
|
* @desc 控制链接聚焦时文本的装饰样式。
|
|
|
|
|
* @descEN Control the text decoration style of a link on focus.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
linkFocusDecoration: React.CSSProperties['textDecoration'];
|
|
|
|
|
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 控制水平内间距
|
|
|
|
|
* @nameEN Control horizontal padding
|
|
|
|
|
* @desc 控制元素水平内间距。
|
|
|
|
|
* @descEN Control the horizontal padding of an element.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
controlPaddingHorizontal: number;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 控制中小尺寸水平内间距
|
|
|
|
|
* @nameEN Control horizontal padding with a small-medium size
|
|
|
|
|
* @desc 控制元素中小尺寸水平内间距。
|
|
|
|
|
* @descEN Control the horizontal padding of an element with a small-medium size.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
controlPaddingHorizontalSM: number;
|
|
|
|
|
|
|
|
|
|
// Media queries breakpoints
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 屏幕宽度(像素) - 超小屏幕
|
|
|
|
|
* @nameEN Screen width (pixels) - Extra small screens
|
|
|
|
|
* @desc 控制超小屏幕的屏幕宽度。
|
|
|
|
|
* @descEN Control the screen width of extra small screens.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
screenXS: number;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 屏幕宽度(像素) - 超小屏幕最小值
|
|
|
|
|
* @nameEN Screen width (pixels) - Extra small screens minimum value
|
|
|
|
|
* @desc 控制超小屏幕的最小宽度。
|
|
|
|
|
* @descEN Control the minimum width of extra small screens.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
screenXSMin: number;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 屏幕宽度(像素) - 超小屏幕最大值
|
|
|
|
|
* @nameEN Screen width (pixels) - Extra small screens maximum value
|
|
|
|
|
* @desc 控制超小屏幕的最大宽度。
|
|
|
|
|
* @descEN Control the maximum width of extra small screens.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
screenXSMax: number;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 屏幕宽度(像素) - 小屏幕
|
|
|
|
|
* @nameEN Screen width (pixels) - Small screens
|
|
|
|
|
* @desc 控制小屏幕的屏幕宽度。
|
|
|
|
|
* @descEN Control the screen width of small screens.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
screenSM: number;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 屏幕宽度(像素) - 小屏幕最小值
|
|
|
|
|
* @nameEN Screen width (pixels) - Small screens minimum value
|
|
|
|
|
* @desc 控制小屏幕的最小宽度。
|
|
|
|
|
* @descEN Control the minimum width of small screens.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
screenSMMin: number;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 屏幕宽度(像素) - 小屏幕最大值
|
|
|
|
|
* @nameEN Screen width (pixels) - Small screens maximum value
|
|
|
|
|
* @desc 控制小屏幕的最大宽度。
|
|
|
|
|
* @descEN Control the maximum width of small screens.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
screenSMMax: number;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 屏幕宽度(像素) - 中等屏幕
|
|
|
|
|
* @nameEN Screen width (pixels) - Medium screens
|
|
|
|
|
* @desc 控制中等屏幕的屏幕宽度。
|
|
|
|
|
* @descEN Control the screen width of medium screens.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
screenMD: number;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 屏幕宽度(像素) - 中等屏幕最小值
|
|
|
|
|
* @nameEN Screen width (pixels) - Medium screens minimum value
|
|
|
|
|
* @desc 控制中等屏幕的最小宽度。
|
|
|
|
|
* @descEN Control the minimum width of medium screens.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
screenMDMin: number;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 屏幕宽度(像素) - 中等屏幕最大值
|
|
|
|
|
* @nameEN Screen width (pixels) - Medium screens maximum value
|
|
|
|
|
* @desc 控制中等屏幕的最大宽度。
|
|
|
|
|
* @descEN Control the maximum width of medium screens.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
screenMDMax: number;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 屏幕宽度(像素) - 大屏幕
|
|
|
|
|
* @nameEN Screen width (pixels) - Large screens
|
|
|
|
|
* @desc 控制大屏幕的屏幕宽度。
|
|
|
|
|
* @descEN Control the screen width of large screens.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
screenLG: number;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 屏幕宽度(像素) - 大屏幕最小值
|
|
|
|
|
* @nameEN Screen width (pixels) - Large screens minimum value
|
|
|
|
|
* @desc 控制大屏幕的最小宽度。
|
|
|
|
|
* @descEN Control the minimum width of large screens.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
screenLGMin: number;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 屏幕宽度(像素) - 大屏幕最大值
|
|
|
|
|
* @nameEN Screen width (pixels) - Large screens maximum value
|
|
|
|
|
* @desc 控制大屏幕的最大宽度。
|
|
|
|
|
* @descEN Control the maximum width of large screens.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
screenLGMax: number;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 屏幕宽度(像素) - 超大屏幕
|
|
|
|
|
* @nameEN Screen width (pixels) - Extra large screens
|
|
|
|
|
* @desc 控制超大屏幕的屏幕宽度。
|
|
|
|
|
* @descEN Control the screen width of extra large screens.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
screenXL: number;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 屏幕宽度(像素) - 超大屏幕最小值
|
|
|
|
|
* @nameEN Screen width (pixels) - Extra large screens minimum value
|
|
|
|
|
* @desc 控制超大屏幕的最小宽度。
|
|
|
|
|
* @descEN Control the minimum width of extra large screens.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
screenXLMin: number;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 屏幕宽度(像素) - 超大屏幕最大值
|
|
|
|
|
* @nameEN Screen width (pixels) - Extra large screens maximum value
|
|
|
|
|
* @desc 控制超大屏幕的最大宽度。
|
|
|
|
|
* @descEN Control the maximum width of extra large screens.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
screenXLMax: number;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 屏幕宽度(像素) - 超超大屏幕
|
|
|
|
|
* @nameEN Screen width (pixels) - Extra extra large screens
|
|
|
|
|
* @desc 控制超超大屏幕的屏幕宽度。
|
|
|
|
|
* @descEN Control the screen width of extra extra large screens.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
screenXXL: number;
|
2023-03-17 14:21:42 +08:00
|
|
|
|
/**
|
|
|
|
|
* @nameZH 屏幕宽度(像素) - 超超大屏幕最小值
|
|
|
|
|
* @nameEN Screen width (pixels) - Extra extra large screens minimum value
|
|
|
|
|
* @desc 控制超超大屏幕的最小宽度。
|
|
|
|
|
* @descEN Control the minimum width of extra extra large screens.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
screenXXLMin: number;
|
|
|
|
|
|
2023-03-12 14:13:03 +08:00
|
|
|
|
/**
|
|
|
|
|
* Used for DefaultButton, Switch which has default outline
|
|
|
|
|
* @desc 默认样式的 Outline 颜色
|
|
|
|
|
* @descEN Default style outline color.
|
|
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
|
controlTmpOutline: string;
|
|
|
|
|
|
|
|
|
|
// FIXME: component box-shadow, should be removed
|
|
|
|
|
/** @internal */
|
|
|
|
|
boxShadowPopoverArrow: string;
|
|
|
|
|
/** @internal */
|
|
|
|
|
boxShadowCard: string;
|
|
|
|
|
/** @internal */
|
|
|
|
|
boxShadowDrawerRight: string;
|
|
|
|
|
/** @internal */
|
|
|
|
|
boxShadowDrawerLeft: string;
|
|
|
|
|
/** @internal */
|
|
|
|
|
boxShadowDrawerUp: string;
|
|
|
|
|
/** @internal */
|
|
|
|
|
boxShadowDrawerDown: string;
|
|
|
|
|
/** @internal */
|
|
|
|
|
boxShadowTabsOverflowLeft: string;
|
|
|
|
|
/** @internal */
|
|
|
|
|
boxShadowTabsOverflowRight: string;
|
|
|
|
|
/** @internal */
|
|
|
|
|
boxShadowTabsOverflowTop: string;
|
|
|
|
|
/** @internal */
|
|
|
|
|
boxShadowTabsOverflowBottom: string;
|
|
|
|
|
}
|