mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
docs: add most alias token meta info by gpt3.5 (#41297)
This commit is contained in:
parent
3ed7895596
commit
de04b0d183
@ -8,175 +8,334 @@ import type { MapToken } from './maps';
|
||||
|
||||
export interface AliasToken extends MapToken {
|
||||
// Background
|
||||
colorFillContentHover: string;
|
||||
colorFillAlter: string;
|
||||
colorFillContent: string;
|
||||
|
||||
/**
|
||||
* @desc 容器禁用态下的背景色
|
||||
* @descEN Disabled container background color.
|
||||
* @nameZH 内容区域背景色(悬停)
|
||||
* @nameEN Background color of content area (hover)
|
||||
* @desc 控制内容区域背景色在鼠标悬停时的样式。
|
||||
* @descEN Control the style of background color of content area when mouse hovers over it.
|
||||
*/
|
||||
colorFillContentHover: string;
|
||||
/**
|
||||
* @nameZH 替代背景色
|
||||
* @nameEN Alternative background color
|
||||
* @desc 控制元素替代背景色。
|
||||
* @descEN Control the alternative background color of element.
|
||||
*/
|
||||
colorFillAlter: string;
|
||||
/**
|
||||
* @nameZH 内容区域背景色
|
||||
* @nameEN Background color of content area
|
||||
* @desc 控制内容区域的背景色。
|
||||
* @descEN Control the background color of content area.
|
||||
*/
|
||||
colorFillContent: string;
|
||||
/**
|
||||
* @nameZH 容器禁用态下的背景色
|
||||
* @nameEN Disabled container background color
|
||||
* @desc 控制容器在禁用状态下的背景色。
|
||||
* @descEN Control the background color of container in disabled state.
|
||||
*/
|
||||
colorBgContainerDisabled: string;
|
||||
/**
|
||||
* @desc 文本态悬浮态背景色
|
||||
* @descEN Hover text background color.
|
||||
* @nameZH 文本悬停态背景色
|
||||
* @nameEN Text hover background color
|
||||
* @desc 控制文本在悬停状态下的背景色。
|
||||
* @descEN Control the background color of text in hover state.
|
||||
*/
|
||||
colorBgTextHover: string;
|
||||
/**
|
||||
* @desc 文本态激活态背景色
|
||||
* @descEN Active text background color.
|
||||
* @nameZH 文本激活态背景色
|
||||
* @nameEN Text active background color
|
||||
* @desc 控制文本在激活状态下的背景色。
|
||||
* @descEN Control the background color of text in active state.
|
||||
*/
|
||||
colorBgTextActive: string;
|
||||
|
||||
// Border
|
||||
/**
|
||||
* @nameZH 背景边框颜色
|
||||
* @nameEN Background border color
|
||||
* @desc 控制元素背景边框的颜色。
|
||||
* @descEN Control the color of background border of element.
|
||||
*/
|
||||
colorBorderBg: string;
|
||||
/**
|
||||
* @nameZH 分割线颜色
|
||||
* @nameEN Separator color
|
||||
* @desc 用于作为分割线的颜色,此颜色和 colorBorderSecondary 的颜色一致,但是用的是透明色。
|
||||
* @descEN Used as the color of separator, this color is the same as colorBorderSecondary but with transparency.
|
||||
*/
|
||||
colorSplit: string;
|
||||
|
||||
// Text
|
||||
/**
|
||||
* @nameZH 占位文本颜色
|
||||
* @nameEN Placeholder text color
|
||||
* @desc 控制占位文本的颜色。
|
||||
* @descEN Control the color of placeholder text.
|
||||
*/
|
||||
colorTextPlaceholder: string;
|
||||
/**
|
||||
* @desc 禁用字体颜色
|
||||
* @descEN Disabled text color
|
||||
* @nameZH 禁用字体颜色
|
||||
* @nameEN Disabled text color
|
||||
* @desc 控制禁用状态下的字体颜色。
|
||||
* @descEN Control the color of text in disabled state.
|
||||
*/
|
||||
colorTextDisabled: string;
|
||||
/**
|
||||
* @nameZH 标题字体颜色
|
||||
* @nameEN Heading font color
|
||||
* @desc 控制标题字体颜色。
|
||||
* @descEN Control the font color of heading.
|
||||
*/
|
||||
colorTextHeading: string;
|
||||
/**
|
||||
* @nameZH 文本标签字体颜色
|
||||
* @nameEN Text label font color
|
||||
* @desc 控制文本标签字体颜色。
|
||||
* @descEN Control the font color of text label.
|
||||
*/
|
||||
colorTextLabel: string;
|
||||
/**
|
||||
* @nameZH 文本描述字体颜色
|
||||
* @nameEN Text description font color
|
||||
* @desc 控制文本描述字体颜色。
|
||||
* @descEN Control the font color of text description.
|
||||
*/
|
||||
colorTextDescription: string;
|
||||
/**
|
||||
* @desc 固定文本高亮颜色,用于带背景色的文本如 Primary Button 组件
|
||||
* @descEN Fixed text highlight color, used for text with background color such as Primary Button components
|
||||
* @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.
|
||||
*/
|
||||
colorTextLightSolid: string;
|
||||
|
||||
/** Weak action. Such as `allowClear` or Alert close button */
|
||||
/**
|
||||
/**
|
||||
* @nameZH 弱操作图标颜色
|
||||
* @nameEN Weak action icon color
|
||||
* @desc 控制弱操作图标的颜色,例如 allowClear 或 Alert 关闭按钮。
|
||||
* @descEN Weak action. Such as `allowClear` or Alert close button
|
||||
*/
|
||||
colorIcon: string;
|
||||
/** Weak action hover color. Such as `allowClear` or Alert close button */
|
||||
/** */
|
||||
/**
|
||||
* @nameZH 弱操作图标悬浮态颜色
|
||||
* @nameEN Weak action icon hover color
|
||||
* @desc 控制弱操作图标在悬浮状态下的颜色,例如 allowClear 或 Alert 关闭按钮。
|
||||
* @descEN Weak action hover color. Such as `allowClear` or Alert close button
|
||||
*/
|
||||
colorIconHover: string;
|
||||
|
||||
/**
|
||||
* @desc 超链接颜色
|
||||
* @descEN hyperlink color
|
||||
* @nameZH 超链接颜色
|
||||
* @nameEN Hyperlink color
|
||||
* @desc 控制超链接的颜色。
|
||||
* @descEN Control the color of hyperlink.
|
||||
*/
|
||||
colorLink: string;
|
||||
/**
|
||||
* @desc 超链接悬浮颜色
|
||||
* @descEN hyperlink hover color
|
||||
* @nameZH 超链接悬浮颜色
|
||||
* @nameEN Hyperlink hover color
|
||||
* @desc 控制超链接悬浮时的颜色。
|
||||
* @descEN Control the color of hyperlink when hovering.
|
||||
*/
|
||||
colorLinkHover: string;
|
||||
/**
|
||||
* @desc 超链接激活颜色
|
||||
* @descEN hyperlink active color
|
||||
* @nameZH 超链接激活颜色
|
||||
* @nameEN Hyperlink active color
|
||||
* @desc 控制超链接被点击时的颜色。
|
||||
* @descEN Control the color of hyperlink when clicked.
|
||||
*/
|
||||
colorLinkActive: string;
|
||||
|
||||
/**
|
||||
* @nameZH 高亮颜色
|
||||
* @nameEN Highlight color
|
||||
* @desc 控制页面元素高亮时的颜色。
|
||||
* @descEN Control the color of page element when highlighted.
|
||||
*/
|
||||
colorHighlight: string;
|
||||
|
||||
/**
|
||||
* @desc 输入组件的 Outline 颜色
|
||||
* @descEN Input component outline color
|
||||
* @nameZH 输入组件的 Outline 颜色
|
||||
* @nameEN Input component outline color
|
||||
* @desc 控制输入组件的外轮廓线颜色。
|
||||
* @descEN Control the outline color of input component.
|
||||
*/
|
||||
controlOutline: string;
|
||||
colorWarningOutline: string;
|
||||
|
||||
/**
|
||||
* @desc 输入组件错误状态下的 Outline 颜色
|
||||
* @descEN Input component error outline color
|
||||
* @nameZH 警告状态下的 Outline 颜色
|
||||
* @nameEN Warning outline color
|
||||
* @desc 控制输入组件警告状态下的外轮廓线颜色。
|
||||
* @descEN Control the outline color of input component in warning state.
|
||||
*/
|
||||
colorWarningOutline: string;
|
||||
|
||||
/**
|
||||
* @nameZH 错误状态下的 Outline 颜色
|
||||
* @nameEN Error outline color
|
||||
* @desc 控制输入组件错误状态下的外轮廓线颜色。
|
||||
* @descEN Control the outline color of input component in error state.
|
||||
*/
|
||||
colorErrorOutline: string;
|
||||
|
||||
// Font
|
||||
/** Operation icon in Select, Cascader, etc. icon fontSize. Normal is same as fontSizeSM */
|
||||
/**
|
||||
* @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.
|
||||
*/
|
||||
fontSizeIcon: number;
|
||||
|
||||
/** For heading like h1, h2, h3 or option selected item */
|
||||
/**
|
||||
* @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.
|
||||
*/
|
||||
fontWeightStrong: number;
|
||||
|
||||
// Control
|
||||
|
||||
/**
|
||||
* @desc 输入组件的 Outline 尺寸
|
||||
* @descEN Input component outline size
|
||||
* @nameZH 输入组件的外轮廓线宽度
|
||||
* @nameEN Input component outline width
|
||||
* @desc 控制输入组件的外轮廓线宽度。
|
||||
* @descEN Control the outline width of input component.
|
||||
*/
|
||||
controlOutlineWidth: number;
|
||||
|
||||
/**
|
||||
* @nameZH 控制组件项在鼠标悬浮时的背景颜色
|
||||
* @nameEN Background color of control component item when hovering
|
||||
* @desc 控制组件项在鼠标悬浮时的背景颜色。
|
||||
* @descEN Control the background color of control component item when hovering.
|
||||
*/
|
||||
controlItemBgHover: string; // Note. It also is a color
|
||||
|
||||
/**
|
||||
* @nameZH 控制组件项在激活状态下的背景颜色
|
||||
* @nameEN Background color of control component item when active
|
||||
* @desc 控制组件项在激活状态下的背景颜色。
|
||||
* @descEN Control the background color of control component item when active.
|
||||
*/
|
||||
controlItemBgActive: string; // Note. It also is a color
|
||||
|
||||
/**
|
||||
* @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.
|
||||
*/
|
||||
controlItemBgActiveHover: string; // Note. It also is a color
|
||||
|
||||
/**
|
||||
* @nameZH 控制组件的交互大小
|
||||
* @nameEN Interactive size of control component
|
||||
* @desc 控制组件的交互大小。
|
||||
* @descEN Control the interactive size of control component.
|
||||
*/
|
||||
controlInteractiveSize: number;
|
||||
|
||||
/**
|
||||
* @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.
|
||||
*/
|
||||
controlItemBgActiveDisabled: string; // Note. It also is a color
|
||||
|
||||
// Line
|
||||
/**
|
||||
* @desc 聚焦时 Outline 尺寸
|
||||
* @descEN Outline size when focused
|
||||
* @nameZH 线条宽度(聚焦态)
|
||||
* @nameEN Line width(focus state)
|
||||
* @desc 控制线条的宽度,当组件处于聚焦态时。
|
||||
* @descEN Control the width of the line when the component is in focus state.
|
||||
*/
|
||||
lineWidthFocus: number;
|
||||
|
||||
// Padding
|
||||
/**
|
||||
* @desc 内间距尺寸
|
||||
* @descEN Padding size
|
||||
* @nameZH 极小内间距
|
||||
* @nameEN Extra extra small padding
|
||||
* @desc 控制元素的极小内间距。
|
||||
* @descEN Control the extra extra small padding of the element.
|
||||
*/
|
||||
paddingXXS: number;
|
||||
/**
|
||||
* @desc 内间距尺寸
|
||||
* @descEN Padding size
|
||||
* @nameZH 特小内间距
|
||||
* @nameEN Extra small padding
|
||||
* @desc 控制元素的特小内间距。
|
||||
* @descEN Control the extra small padding of the element.
|
||||
*/
|
||||
paddingXS: number;
|
||||
/**
|
||||
* @desc 内间距尺寸
|
||||
* @descEN Padding size
|
||||
* @nameZH 小内间距
|
||||
* @nameEN Small padding
|
||||
* @desc 控制元素的小内间距。
|
||||
* @descEN Control the small padding of the element.
|
||||
*/
|
||||
paddingSM: number;
|
||||
/**
|
||||
* @desc 内间距尺寸
|
||||
* @descEN Padding size
|
||||
* @nameZH 内间距
|
||||
* @nameEN Padding
|
||||
* @desc 控制元素的内间距。
|
||||
* @descEN Control the padding of the element.
|
||||
*/
|
||||
padding: number;
|
||||
/**
|
||||
* @desc 内间距尺寸
|
||||
* @descEN Padding size
|
||||
* @nameZH 中等内间距
|
||||
* @nameEN Medium padding
|
||||
* @desc 控制元素的中等内间距。
|
||||
* @descEN Control the medium padding of the element.
|
||||
*/
|
||||
paddingMD: number;
|
||||
/**
|
||||
* @desc 内间距尺寸
|
||||
* @descEN Padding size
|
||||
* @nameZH 大内间距
|
||||
* @nameEN Large padding
|
||||
* @desc 控制元素的大内间距。
|
||||
* @descEN Control the large padding of the element.
|
||||
*/
|
||||
paddingLG: number;
|
||||
/**
|
||||
* @desc 内间距尺寸
|
||||
* @descEN Padding size
|
||||
* @nameZH 特大内间距
|
||||
* @nameEN Extra large padding
|
||||
* @desc 控制元素的特大内间距。
|
||||
* @descEN Control the extra large padding of the element.
|
||||
*/
|
||||
paddingXL: number;
|
||||
|
||||
// Padding Content
|
||||
/**
|
||||
* @nameZH 内容水平内间距
|
||||
* @nameEN Content horizontal padding
|
||||
* @desc 控制内容元素水平内间距
|
||||
* @descEN Control the horizontal padding of content element.
|
||||
* @nameZH 内容水平内间距(LG)
|
||||
* @nameEN Content horizontal padding (LG)
|
||||
* @desc 控制内容元素水平内间距,适用于大屏幕设备。
|
||||
* @descEN Control the horizontal padding of content element, suitable for large screen devices.
|
||||
*/
|
||||
paddingContentHorizontalLG: number;
|
||||
/**
|
||||
* @nameZH 内容水平内间距
|
||||
* @nameEN Content horizontal padding
|
||||
* @desc 控制内容元素水平内间距
|
||||
* @desc 控制内容元素水平内间距。
|
||||
* @descEN Control the horizontal padding of content element.
|
||||
*/
|
||||
paddingContentHorizontal: number;
|
||||
/**
|
||||
* @nameZH 内容水平内间距
|
||||
* @nameEN Content horizontal padding
|
||||
* @desc 控制内容元素水平内间距
|
||||
* @descEN Control the horizontal padding of content element.
|
||||
* @nameZH 内容水平内间距(SM)
|
||||
* @nameEN Content horizontal padding (SM)
|
||||
* @desc 控制内容元素水平内间距,适用于小屏幕设备。
|
||||
* @descEN Control the horizontal padding of content element, suitable for small screen devices.
|
||||
*/
|
||||
paddingContentHorizontalSM: number;
|
||||
/**
|
||||
* @nameZH 内容垂直内间距
|
||||
* @nameEN Content vertical padding
|
||||
* @desc 控制内容元素垂直内间距。
|
||||
* @descEN Control the vertical padding of content element.
|
||||
* @nameZH 内容垂直内间距(LG)
|
||||
* @nameEN Content vertical padding (LG)
|
||||
* @desc 控制内容元素垂直内间距,适用于大屏幕设备。
|
||||
* @descEN Control the vertical padding of content element, suitable for large screen devices.
|
||||
*/
|
||||
paddingContentVerticalLG: number;
|
||||
/**
|
||||
@ -187,90 +346,258 @@ export interface AliasToken extends MapToken {
|
||||
*/
|
||||
paddingContentVertical: number;
|
||||
/**
|
||||
* @nameZH 内容垂直内间距
|
||||
* @nameEN Content vertical padding
|
||||
* @desc 控制内容元素垂直内间距。
|
||||
* @descEN Control the vertical padding of content element.
|
||||
* @nameZH 内容垂直内间距(SM)
|
||||
* @nameEN Content vertical padding (SM)
|
||||
* @desc 控制内容元素垂直内间距,适用于小屏幕设备。
|
||||
* @descEN Control the vertical padding of content element, suitable for small screen devices.
|
||||
*/
|
||||
paddingContentVerticalSM: number;
|
||||
|
||||
// Margin
|
||||
/**
|
||||
* @desc 外间距
|
||||
* @descEN Margin size.
|
||||
* @nameZH 外边距 XXS
|
||||
* @nameEN Margin XXS
|
||||
* @desc 控制元素外边距,最小尺寸。
|
||||
* @descEN Control the margin of an element, with the smallest size.
|
||||
*/
|
||||
marginXXS: number;
|
||||
/**
|
||||
* @desc 外间距
|
||||
* @descEN Margin size.
|
||||
* @nameZH 外边距 XS
|
||||
* @nameEN Margin XS
|
||||
* @desc 控制元素外边距,小尺寸。
|
||||
* @descEN Control the margin of an element, with a small size.
|
||||
*/
|
||||
marginXS: number;
|
||||
/**
|
||||
* @desc 外间距
|
||||
* @descEN Margin size.
|
||||
* @nameZH 外边距 SM
|
||||
* @nameEN Margin SM
|
||||
* @desc 控制元素外边距,中小尺寸。
|
||||
* @descEN Control the margin of an element, with a medium-small size.
|
||||
*/
|
||||
marginSM: number;
|
||||
/**
|
||||
* @desc 外间距
|
||||
* @descEN Margin size.
|
||||
* @nameZH 外边距
|
||||
* @nameEN Margin
|
||||
* @desc 控制元素外边距,中等尺寸。
|
||||
* @descEN Control the margin of an element, with a medium size.
|
||||
*/
|
||||
margin: number;
|
||||
/**
|
||||
* @desc 外间距
|
||||
* @descEN Margin size.
|
||||
* @nameZH 外边距 MD
|
||||
* @nameEN Margin MD
|
||||
* @desc 控制元素外边距,中大尺寸。
|
||||
* @descEN Control the margin of an element, with a medium-large size.
|
||||
*/
|
||||
marginMD: number;
|
||||
/**
|
||||
* @desc 外间距
|
||||
* @descEN Margin size.
|
||||
* @nameZH 外边距 LG
|
||||
* @nameEN Margin LG
|
||||
* @desc 控制元素外边距,大尺寸。
|
||||
* @descEN Control the margin of an element, with a large size.
|
||||
*/
|
||||
marginLG: number;
|
||||
/**
|
||||
* @desc 外间距
|
||||
* @descEN Margin size.
|
||||
* @nameZH 外边距 XL
|
||||
* @nameEN Margin XL
|
||||
* @desc 控制元素外边距,超大尺寸。
|
||||
* @descEN Control the margin of an element, with an extra-large size.
|
||||
*/
|
||||
marginXL: number;
|
||||
/**
|
||||
* @desc 外间距
|
||||
* @descEN Margin size.
|
||||
* @nameZH 外边距 XXL
|
||||
* @nameEN Margin XXL
|
||||
* @desc 控制元素外边距,最大尺寸。
|
||||
* @descEN Control the margin of an element, with the largest size.
|
||||
*/
|
||||
marginXXL: number;
|
||||
|
||||
// =============== Legacy: should be remove ===============
|
||||
/**
|
||||
* @desc 加载状态透明度
|
||||
* @descEN Loading opacity
|
||||
* @nameZH 加载状态透明度
|
||||
* @nameEN Loading opacity
|
||||
* @desc 控制加载状态的透明度。
|
||||
* @descEN Control the opacity of the loading state.
|
||||
*/
|
||||
opacityLoading: number;
|
||||
|
||||
/**
|
||||
* @nameZH 一级阴影
|
||||
* @nameEN Box shadow
|
||||
* @desc 控制元素阴影样式。
|
||||
* @descEN Control the box shadow style of an element.
|
||||
*/
|
||||
boxShadow: string;
|
||||
/**
|
||||
* @nameZH 二级阴影
|
||||
* @nameEN Secondary box shadow
|
||||
* @desc 控制元素二级阴影样式。
|
||||
* @descEN Control the secondary box shadow style of an element.
|
||||
*/
|
||||
boxShadowSecondary: string;
|
||||
/**
|
||||
* @nameZH 三级阴影
|
||||
* @nameEN Tertiary box shadow
|
||||
* @desc 控制元素三级盒子阴影样式。
|
||||
* @descEN Control the tertiary box shadow style of an element.
|
||||
*/
|
||||
boxShadowTertiary: string;
|
||||
|
||||
/**
|
||||
* @nameZH 链接文本装饰
|
||||
* @nameEN Link text decoration
|
||||
* @desc 控制链接文本的装饰样式。
|
||||
* @descEN Control the text decoration style of a link.
|
||||
*/
|
||||
linkDecoration: React.CSSProperties['textDecoration'];
|
||||
/**
|
||||
* @nameZH 链接鼠标悬浮时文本装饰
|
||||
* @nameEN Link text decoration on mouse hover
|
||||
* @desc 控制链接鼠标悬浮时文本的装饰样式。
|
||||
* @descEN Control the text decoration style of a link on mouse hover.
|
||||
*/
|
||||
linkHoverDecoration: React.CSSProperties['textDecoration'];
|
||||
/**
|
||||
* @nameZH 链接聚焦时文本装饰
|
||||
* @nameEN Link text decoration on focus
|
||||
* @desc 控制链接聚焦时文本的装饰样式。
|
||||
* @descEN Control the text decoration style of a link on focus.
|
||||
*/
|
||||
linkFocusDecoration: React.CSSProperties['textDecoration'];
|
||||
|
||||
/**
|
||||
* @nameZH 控制水平内间距
|
||||
* @nameEN Control horizontal padding
|
||||
* @desc 控制元素水平内间距。
|
||||
* @descEN Control the horizontal padding of an element.
|
||||
*/
|
||||
controlPaddingHorizontal: number;
|
||||
/**
|
||||
* @nameZH 控制中小尺寸水平内间距
|
||||
* @nameEN Control horizontal padding with a small-medium size
|
||||
* @desc 控制元素中小尺寸水平内间距。
|
||||
* @descEN Control the horizontal padding of an element with a small-medium size.
|
||||
*/
|
||||
controlPaddingHorizontalSM: number;
|
||||
|
||||
// Media queries breakpoints
|
||||
/**
|
||||
* @nameZH 屏幕宽度(像素) - 超小屏幕
|
||||
* @nameEN Screen width (pixels) - Extra small screens
|
||||
* @desc 控制超小屏幕的屏幕宽度。
|
||||
* @descEN Control the screen width of extra small screens.
|
||||
*/
|
||||
screenXS: number;
|
||||
/**
|
||||
* @nameZH 屏幕宽度(像素) - 超小屏幕最小值
|
||||
* @nameEN Screen width (pixels) - Extra small screens minimum value
|
||||
* @desc 控制超小屏幕的最小宽度。
|
||||
* @descEN Control the minimum width of extra small screens.
|
||||
*/
|
||||
screenXSMin: number;
|
||||
/**
|
||||
* @nameZH 屏幕宽度(像素) - 超小屏幕最大值
|
||||
* @nameEN Screen width (pixels) - Extra small screens maximum value
|
||||
* @desc 控制超小屏幕的最大宽度。
|
||||
* @descEN Control the maximum width of extra small screens.
|
||||
*/
|
||||
screenXSMax: number;
|
||||
/**
|
||||
* @nameZH 屏幕宽度(像素) - 小屏幕
|
||||
* @nameEN Screen width (pixels) - Small screens
|
||||
* @desc 控制小屏幕的屏幕宽度。
|
||||
* @descEN Control the screen width of small screens.
|
||||
*/
|
||||
screenSM: number;
|
||||
/**
|
||||
* @nameZH 屏幕宽度(像素) - 小屏幕最小值
|
||||
* @nameEN Screen width (pixels) - Small screens minimum value
|
||||
* @desc 控制小屏幕的最小宽度。
|
||||
* @descEN Control the minimum width of small screens.
|
||||
*/
|
||||
screenSMMin: number;
|
||||
/**
|
||||
* @nameZH 屏幕宽度(像素) - 小屏幕最大值
|
||||
* @nameEN Screen width (pixels) - Small screens maximum value
|
||||
* @desc 控制小屏幕的最大宽度。
|
||||
* @descEN Control the maximum width of small screens.
|
||||
*/
|
||||
screenSMMax: number;
|
||||
/**
|
||||
* @nameZH 屏幕宽度(像素) - 中等屏幕
|
||||
* @nameEN Screen width (pixels) - Medium screens
|
||||
* @desc 控制中等屏幕的屏幕宽度。
|
||||
* @descEN Control the screen width of medium screens.
|
||||
*/
|
||||
screenMD: number;
|
||||
/**
|
||||
* @nameZH 屏幕宽度(像素) - 中等屏幕最小值
|
||||
* @nameEN Screen width (pixels) - Medium screens minimum value
|
||||
* @desc 控制中等屏幕的最小宽度。
|
||||
* @descEN Control the minimum width of medium screens.
|
||||
*/
|
||||
screenMDMin: number;
|
||||
/**
|
||||
* @nameZH 屏幕宽度(像素) - 中等屏幕最大值
|
||||
* @nameEN Screen width (pixels) - Medium screens maximum value
|
||||
* @desc 控制中等屏幕的最大宽度。
|
||||
* @descEN Control the maximum width of medium screens.
|
||||
*/
|
||||
screenMDMax: number;
|
||||
/**
|
||||
* @nameZH 屏幕宽度(像素) - 大屏幕
|
||||
* @nameEN Screen width (pixels) - Large screens
|
||||
* @desc 控制大屏幕的屏幕宽度。
|
||||
* @descEN Control the screen width of large screens.
|
||||
*/
|
||||
screenLG: number;
|
||||
/**
|
||||
* @nameZH 屏幕宽度(像素) - 大屏幕最小值
|
||||
* @nameEN Screen width (pixels) - Large screens minimum value
|
||||
* @desc 控制大屏幕的最小宽度。
|
||||
* @descEN Control the minimum width of large screens.
|
||||
*/
|
||||
screenLGMin: number;
|
||||
/**
|
||||
* @nameZH 屏幕宽度(像素) - 大屏幕最大值
|
||||
* @nameEN Screen width (pixels) - Large screens maximum value
|
||||
* @desc 控制大屏幕的最大宽度。
|
||||
* @descEN Control the maximum width of large screens.
|
||||
*/
|
||||
screenLGMax: number;
|
||||
/**
|
||||
* @nameZH 屏幕宽度(像素) - 超大屏幕
|
||||
* @nameEN Screen width (pixels) - Extra large screens
|
||||
* @desc 控制超大屏幕的屏幕宽度。
|
||||
* @descEN Control the screen width of extra large screens.
|
||||
*/
|
||||
screenXL: number;
|
||||
/**
|
||||
* @nameZH 屏幕宽度(像素) - 超大屏幕最小值
|
||||
* @nameEN Screen width (pixels) - Extra large screens minimum value
|
||||
* @desc 控制超大屏幕的最小宽度。
|
||||
* @descEN Control the minimum width of extra large screens.
|
||||
*/
|
||||
screenXLMin: number;
|
||||
/**
|
||||
* @nameZH 屏幕宽度(像素) - 超大屏幕最大值
|
||||
* @nameEN Screen width (pixels) - Extra large screens maximum value
|
||||
* @desc 控制超大屏幕的最大宽度。
|
||||
* @descEN Control the maximum width of extra large screens.
|
||||
*/
|
||||
screenXLMax: number;
|
||||
/**
|
||||
* @nameZH 屏幕宽度(像素) - 超超大屏幕
|
||||
* @nameEN Screen width (pixels) - Extra extra large screens
|
||||
* @desc 控制超超大屏幕的屏幕宽度。
|
||||
* @descEN Control the screen width of extra extra large screens.
|
||||
*/
|
||||
screenXXL: number;
|
||||
/**
|
||||
* @nameZH 屏幕宽度(像素) - 超超大屏幕最小值
|
||||
* @nameEN Screen width (pixels) - Extra extra large screens minimum value
|
||||
* @desc 控制超超大屏幕的最小宽度。
|
||||
* @descEN Control the minimum width of extra extra large screens.
|
||||
*/
|
||||
screenXXLMin: number;
|
||||
|
||||
/**
|
||||
|
@ -114,12 +114,15 @@ export interface ColorNeutralMapToken {
|
||||
interface ColorPrimaryMapToken {
|
||||
/**
|
||||
* @nameZH 品牌主色
|
||||
* @desc 品牌色是体现产品特性和传播理念最直观的视觉元素之一,用于产品的主色调、主按钮、主图标、主文本等 */
|
||||
* @nameEN Primary color of the brand
|
||||
* @desc 品牌色是体现产品特性和传播理念最直观的视觉元素之一,用于产品的主色调、主按钮、主图标、主文本等
|
||||
* @descEN The brand color is one of the most intuitive visual elements that reflects product characteristics and communication concepts, and is used for the main color tone, main buttons, main icons, main text, etc. of the product.
|
||||
*/
|
||||
colorPrimary: string; // 6
|
||||
|
||||
/**
|
||||
* @nameZH 主色浅色背景色
|
||||
* @nameEN Light Background Color of Primary Color
|
||||
* @nameEN Light background color of primary color
|
||||
* @desc 主色浅色背景颜色,一般用于视觉层级较弱的选中状态。
|
||||
* @descEN Light background color of primary color, usually used for weak visual level selection state.
|
||||
*/
|
||||
@ -127,53 +130,65 @@ interface ColorPrimaryMapToken {
|
||||
|
||||
/**
|
||||
* @nameZH 主色浅色背景悬浮态
|
||||
* @nameEN Hover state of light background color of primary color
|
||||
* @desc 与主色浅色背景颜色相对应的悬浮态颜色。
|
||||
* @descEN The hover state color corresponding to the light background color of the primary color.
|
||||
*/
|
||||
colorPrimaryBgHover: string; // 2
|
||||
|
||||
/**
|
||||
* @nameZH 主色描边色
|
||||
* @desc 主色梯度下的描边用色,用在 Slider 等组件的描边上
|
||||
* @descEN The stroke color under the main color gradient, used on the stroke of components such as Slider
|
||||
* @nameEN Border color of primary color
|
||||
* @desc 主色梯度下的描边用色,用在 Slider 等组件的描边上。
|
||||
* @descEN The stroke color under the main color gradient, used on the stroke of components such as Slider.
|
||||
*/
|
||||
colorPrimaryBorder: string; // 3
|
||||
|
||||
/**
|
||||
* @nameZH 主色描边色悬浮态
|
||||
* @desc 主色梯度下的描边用色的悬浮态,Slider 、Button 等组件的描边 Hover 时会使用
|
||||
* @descEN The hover state of the stroke color under the main color gradient, which will be used when the stroke Hover of components such as Slider and Button
|
||||
* @nameEN Hover state of border color of primary color
|
||||
* @desc 主色梯度下的描边用色的悬浮态,Slider 、Button 等组件的描边 Hover 时会使用。
|
||||
* @descEN The hover state of the stroke color under the main color gradient, which will be used when the stroke Hover of components such as Slider and Button.
|
||||
*/
|
||||
colorPrimaryBorderHover: string; // 4
|
||||
|
||||
/**
|
||||
* @nameZH 主色悬浮态
|
||||
* @desc 主色梯度下的悬浮态
|
||||
* @descEN Suspended state under the main color gradient
|
||||
* @nameEN Hover state of primary color
|
||||
* @desc 主色梯度下的悬浮态。
|
||||
* @descEN Hover state under the main color gradient.
|
||||
*/
|
||||
colorPrimaryHover: string; // 5
|
||||
|
||||
/**
|
||||
* @nameZH 主色激活态
|
||||
* @desc 主色梯度下的深色激活态
|
||||
* @descEN Dark active states under dominant color gradient
|
||||
* @nameEN Active state of primary color
|
||||
* @desc 主色梯度下的深色激活态。
|
||||
* @descEN Dark active state under the main color gradient.
|
||||
*/
|
||||
colorPrimaryActive: string; // 7
|
||||
|
||||
/**
|
||||
* @nameZH 主色文本悬浮态
|
||||
* @desc 主色梯度下的文本悬浮态
|
||||
* @nameEN Hover state of text color of primary color
|
||||
* @desc 主色梯度下的文本悬浮态。
|
||||
* @descEN Hover state of text color under the main color gradient.
|
||||
*/
|
||||
colorPrimaryTextHover: string; // 8
|
||||
|
||||
/**
|
||||
* @nameZH 主色文本
|
||||
* @desc 主色梯度下的文本颜色
|
||||
* @nameEN Text color of primary color
|
||||
* @desc 主色梯度下的文本颜色。
|
||||
* @descEN Text color under the main color gradient.
|
||||
*/
|
||||
colorPrimaryText: string; // 9
|
||||
|
||||
/**
|
||||
* @nameZH 主色文本
|
||||
* @desc 主色梯度下的文本激活态
|
||||
* @nameZH 主色文本激活态
|
||||
* @nameEN Active state of text color of primary color
|
||||
* @desc 主色梯度下的文本激活态。
|
||||
* @descEN Active state of text color under the main color gradient.
|
||||
*/
|
||||
colorPrimaryTextActive: string; // 10
|
||||
}
|
||||
@ -197,49 +212,65 @@ interface ColorSuccessMapToken {
|
||||
|
||||
/**
|
||||
* @nameZH 成功色的描边色
|
||||
* @nameEN Border Color of Success Color
|
||||
* @desc 成功色的描边色,用于 Tag 和 Alert 的成功态描边色
|
||||
* @descEN Border color of success color, used for Tag and Alert success state border color
|
||||
*/
|
||||
colorSuccessBorder: string; // 3
|
||||
|
||||
/**
|
||||
* @nameZH 成功色的描边色悬浮态
|
||||
* @nameEN Hover State Color of Success Border
|
||||
* @desc 成功色的描边色悬浮态
|
||||
* @descEN Hover state color of success color border
|
||||
*/
|
||||
colorSuccessBorderHover: string; // 4
|
||||
|
||||
/**
|
||||
* @nameZH 成功色的深色悬浮态
|
||||
* @nameEN Hover State Color of Dark Success
|
||||
* @desc 成功色的深色悬浮态
|
||||
* @descEN Hover state color of dark success color
|
||||
*/
|
||||
colorSuccessHover: string; // 5
|
||||
|
||||
/**
|
||||
* @nameZH 成功色
|
||||
* @nameEN Success Color
|
||||
* @desc 默认的成功色,如 Result、Progress 等组件中都有使用该颜色
|
||||
* @descEN Default success color, used in components such as Result and Progress
|
||||
*/
|
||||
colorSuccess: string; // 6
|
||||
|
||||
/**
|
||||
* @nameZH 成功色的深色激活态
|
||||
* @nameEN Active State Color of Dark Success
|
||||
* @desc 成功色的深色激活态
|
||||
* @descEN Active state color of dark success color
|
||||
*/
|
||||
colorSuccessActive: string; // 7
|
||||
|
||||
/**
|
||||
* @nameZH 成功色的文本悬浮态
|
||||
* @nameEN Hover State Color of Success Text
|
||||
* @desc 成功色的文本悬浮态
|
||||
* @descEN Hover state color of success color text
|
||||
*/
|
||||
colorSuccessTextHover: string; // 8
|
||||
|
||||
/**
|
||||
* @nameZH 成功色的文本默认态
|
||||
* @nameEN Default State Color of Success Text
|
||||
* @desc 成功色的文本默认态
|
||||
* @descEN Default state color of success color text
|
||||
*/
|
||||
colorSuccessText: string; // 9
|
||||
|
||||
/**
|
||||
* @nameZH 成功色的文本激活态
|
||||
* @nameEN Active State Color of Success Text
|
||||
* @desc 成功色的文本激活态
|
||||
* @descEN Active state color of success color text
|
||||
*/
|
||||
colorSuccessTextActive: string; // 10
|
||||
}
|
||||
@ -247,60 +278,81 @@ interface ColorSuccessMapToken {
|
||||
interface ColorWarningMapToken {
|
||||
/**
|
||||
* @nameZH 警戒色的浅色背景颜色
|
||||
* @nameEN Warning background color
|
||||
* @desc 警戒色的浅色背景颜色
|
||||
* @descEN The background color of the warning state.
|
||||
*/
|
||||
colorWarningBg: string; // 1
|
||||
|
||||
/**
|
||||
* @nameZH 警戒色的浅色背景色悬浮态
|
||||
* @nameEN Warning background color hover state
|
||||
* @desc 警戒色的浅色背景色悬浮态
|
||||
* @descEN The hover state background color of the warning state.
|
||||
*/
|
||||
colorWarningBgHover: string; // 2
|
||||
|
||||
/**
|
||||
* @nameZH 警戒色的描边色
|
||||
* @nameEN Warning border color
|
||||
* @desc 警戒色的描边色
|
||||
* @descEN The border color of the warning state.
|
||||
*/
|
||||
colorWarningBorder: string; // 3
|
||||
|
||||
/**
|
||||
* @nameZH 警戒色的描边色悬浮态
|
||||
* @nameEN Warning border color hover state
|
||||
* @desc 警戒色的描边色悬浮态
|
||||
* @descEN The hover state border color of the warning state.
|
||||
*/
|
||||
colorWarningBorderHover: string; // 4
|
||||
|
||||
/**
|
||||
* @nameZH 警戒色的深色悬浮态
|
||||
* @nameEN Warning hover color
|
||||
* @desc 警戒色的深色悬浮态
|
||||
* @descEN The hover state of the warning color.
|
||||
*/
|
||||
colorWarningHover: string; // 5
|
||||
|
||||
/**
|
||||
* @nameZH 警戒色
|
||||
* @nameEN Warning color
|
||||
* @desc 最常用的警戒色,例如 Notification、 Alert等警告类组件或 Input 输入类等组件会使用该颜色
|
||||
* @descEN The most commonly used warning color, used for warning components such as Notification, Alert, or input components.
|
||||
*/
|
||||
colorWarning: string; // 6
|
||||
|
||||
/**
|
||||
* @nameZH 警戒色的深色激活态
|
||||
* @nameEN Warning active color
|
||||
* @desc 警戒色的深色激活态
|
||||
* @descEN The active state of the warning color.
|
||||
*/
|
||||
colorWarningActive: string; // 7
|
||||
|
||||
/**
|
||||
* @nameZH 警戒色的文本悬浮态
|
||||
* @nameEN Warning text hover state
|
||||
* @desc 警戒色的文本悬浮态
|
||||
* @descEN The hover state of the text in the warning color.
|
||||
*/
|
||||
colorWarningTextHover: string; // 8
|
||||
|
||||
/**
|
||||
* @nameZH 警戒色的文本默认态
|
||||
* @nameEN Warning text default state
|
||||
* @desc 警戒色的文本默认态
|
||||
* @descEN The default state of the text in the warning color.
|
||||
*/
|
||||
colorWarningText: string; // 9
|
||||
|
||||
/**
|
||||
* @nameZH 警戒色的文本激活态
|
||||
* @nameEN Warning text active state
|
||||
* @desc 警戒色的文本激活态
|
||||
* @descEN The active state of the text in the warning color.
|
||||
*/
|
||||
colorWarningTextActive: string; // 10
|
||||
}
|
||||
@ -308,53 +360,81 @@ interface ColorWarningMapToken {
|
||||
interface ColorInfoMapToken {
|
||||
/**
|
||||
* @nameZH 信息色的浅色背景颜色
|
||||
* @desc 信息色的浅色背景颜色
|
||||
* @nameEN Light background color of information color
|
||||
* @desc 信息色的浅色背景颜色。
|
||||
* @descEN Light background color of information color.
|
||||
*/
|
||||
colorInfoBg: string; // 1
|
||||
|
||||
/**
|
||||
* @nameZH 信息色的浅色背景色悬浮态
|
||||
* @desc 信息色的浅色背景色悬浮态
|
||||
* @nameEN Hover state of light background color of information color
|
||||
* @desc 信息色的浅色背景色悬浮态。
|
||||
* @descEN Hover state of light background color of information color.
|
||||
*/
|
||||
colorInfoBgHover: string; // 2
|
||||
|
||||
/**
|
||||
* @nameZH 信息色的描边色
|
||||
* @nameEN Border color of information color
|
||||
* @desc 信息色的描边色。
|
||||
* @descEN Border color of information color.
|
||||
*/
|
||||
colorInfoBorder: string; // 3
|
||||
|
||||
/**
|
||||
* @nameZH 信息色的描边色悬浮态
|
||||
* @nameEN Hover state of border color of information color
|
||||
* @desc 信息色的描边色悬浮态。
|
||||
* @descEN Hover state of border color of information color.
|
||||
*/
|
||||
colorInfoBorderHover: string; // 4
|
||||
|
||||
/**
|
||||
* @nameZH 信息色的深色悬浮态
|
||||
* @nameEN Hover state of dark color of information color
|
||||
* @desc 信息色的深色悬浮态。
|
||||
* @descEN Hover state of dark color of information color.
|
||||
*/
|
||||
colorInfoHover: string; // 5
|
||||
|
||||
/**
|
||||
* @nameZH 信息色
|
||||
* @nameEN Information color
|
||||
* @desc 信息色。
|
||||
* @descEN Information color.
|
||||
*/
|
||||
colorInfo: string; // 6
|
||||
|
||||
/**
|
||||
* @nameZH 信息色的深色激活态
|
||||
* @nameEN Active state of dark color of information color
|
||||
* @desc 信息色的深色激活态。
|
||||
* @descEN Active state of dark color of information color.
|
||||
*/
|
||||
colorInfoActive: string; // 7
|
||||
|
||||
/**
|
||||
* @nameZH 信息色的文本悬浮态
|
||||
* @nameEN Hover state of text color of information color
|
||||
* @desc 信息色的文本悬浮态。
|
||||
* @descEN Hover state of text color of information color.
|
||||
*/
|
||||
colorInfoTextHover: string; // 8
|
||||
|
||||
/**
|
||||
* @nameZH 信息色的文本默认态
|
||||
* @nameEN Default state of text color of information color
|
||||
* @desc 信息色的文本默认态。
|
||||
* @descEN Default state of text color of information color.
|
||||
*/
|
||||
colorInfoText: string; // 9
|
||||
|
||||
/**
|
||||
* @nameZH 信息色的文本激活态
|
||||
* @nameEN Active state of text color of information color
|
||||
* @desc 信息色的文本激活态。
|
||||
* @descEN Active state of text color of information color.
|
||||
*/
|
||||
colorInfoTextActive: string; // 10
|
||||
}
|
||||
@ -362,59 +442,81 @@ interface ColorInfoMapToken {
|
||||
interface ColorErrorMapToken {
|
||||
/**
|
||||
* @nameZH 错误色的浅色背景颜色
|
||||
* @nameEN Error background color
|
||||
* @desc 错误色的浅色背景颜色
|
||||
* @descEN Error background color
|
||||
* @descEN The background color of the error state.
|
||||
*/
|
||||
colorErrorBg: string; // 1
|
||||
|
||||
/**
|
||||
* @nameZH 错误色的浅色背景色悬浮态
|
||||
* @nameEN Error background color hover state
|
||||
* @desc 错误色的浅色背景色悬浮态
|
||||
* @descEN The hover state background color of the error state.
|
||||
*/
|
||||
colorErrorBgHover: string; // 2
|
||||
|
||||
/**
|
||||
* @nameZH 错误色的描边色
|
||||
* @nameEN Error border color
|
||||
* @desc 错误色的描边色
|
||||
* @descEN The border color of the error state.
|
||||
*/
|
||||
colorErrorBorder: string; // 3
|
||||
|
||||
/**
|
||||
* @nameZH 错误色的描边色悬浮态
|
||||
* @nameEN Error border color hover state
|
||||
* @desc 错误色的描边色悬浮态
|
||||
* @descEN The stroke color of the wrong color is suspended
|
||||
* @descEN The hover state border color of the error state.
|
||||
*/
|
||||
colorErrorBorderHover: string; // 4
|
||||
|
||||
/**
|
||||
* @nameZH 错误色的深色悬浮态
|
||||
* @nameEN Error hover color
|
||||
* @desc 错误色的深色悬浮态
|
||||
* @descEN Error hover color
|
||||
* @descEN The hover state of the error color.
|
||||
*/
|
||||
colorErrorHover: string; // 5
|
||||
|
||||
/**
|
||||
* @nameZH 错误色
|
||||
* @nameEN Error color
|
||||
* @desc 错误色
|
||||
* @descEN The color of the error state.
|
||||
*/
|
||||
colorError: string; // 6
|
||||
|
||||
/**
|
||||
* @nameZH 错误色的深色激活态
|
||||
* @nameEN Error active color
|
||||
* @desc 错误色的深色激活态
|
||||
* @descEN Error active color
|
||||
* @descEN The active state of the error color.
|
||||
*/
|
||||
colorErrorActive: string; // 7
|
||||
|
||||
/**
|
||||
* @nameZH 错误色的文本悬浮态
|
||||
* @nameEN Error text hover state
|
||||
* @desc 错误色的文本悬浮态
|
||||
* @descEN The hover state of the text in the error color.
|
||||
*/
|
||||
colorErrorTextHover: string; // 8
|
||||
|
||||
/**
|
||||
* @nameZH 错误色的文本默认态
|
||||
* @nameEN Error text default state
|
||||
* @desc 错误色的文本默认态
|
||||
* @descEN The default state of the text in the error color.
|
||||
*/
|
||||
colorErrorText: string; // 9
|
||||
|
||||
/**
|
||||
* @nameZH 错误色的文本激活态
|
||||
* @nameEN Error text active state
|
||||
* @desc 错误色的文本激活态
|
||||
* @descEN The active state of the text in the error color.
|
||||
*/
|
||||
colorErrorTextActive: string; // 10
|
||||
}
|
||||
|
@ -23,31 +23,41 @@ export interface FontMapToken {
|
||||
|
||||
/**
|
||||
* @nameZH 一级标题字号
|
||||
* @nameEN Font size of heading level 1
|
||||
* @desc H1 标签所使用的字号
|
||||
* @descEN Font size of h1 tag.
|
||||
* @default 38
|
||||
*/
|
||||
fontSizeHeading1: number;
|
||||
/**
|
||||
* @nameZH 二级标题字号
|
||||
* @nameEN Font size of heading level 2
|
||||
* @desc h2 标签所使用的字号
|
||||
* @descEN Font size of h2 tag.
|
||||
* @default 30
|
||||
*/
|
||||
fontSizeHeading2: number;
|
||||
/**
|
||||
* @nameZH 三级标题字号
|
||||
* @nameEN Font size of heading level 3
|
||||
* @desc h3 标签使用的字号
|
||||
* @descEN Font size of h3 tag.
|
||||
* @default 24
|
||||
*/
|
||||
fontSizeHeading3: number;
|
||||
/**
|
||||
* @nameZH 四级标题字号
|
||||
* @nameEN Font size of heading level 4
|
||||
* @desc h4 标签使用的字号
|
||||
* @descEN Font size of h4 tag.
|
||||
* @default 20
|
||||
*/
|
||||
fontSizeHeading4: number;
|
||||
/**
|
||||
* @nameZH 五级标题字号
|
||||
* @nameEN Font size of heading level 5
|
||||
* @desc h5 标签使用的字号
|
||||
* @descEN Font size of h5 tag.
|
||||
* @default 16
|
||||
*/
|
||||
fontSizeHeading5: number;
|
||||
@ -69,9 +79,44 @@ export interface FontMapToken {
|
||||
*/
|
||||
lineHeightSM: number;
|
||||
|
||||
/**
|
||||
* @nameZH 一级标题行高
|
||||
* @nameEN Line height of heading level 1
|
||||
* @desc H1 标签所使用的行高
|
||||
* @descEN Line height of h1 tag.
|
||||
* @default 1.4
|
||||
*/
|
||||
lineHeightHeading1: number;
|
||||
/**
|
||||
* @nameZH 二级标题行高
|
||||
* @nameEN Line height of heading level 2
|
||||
* @desc h2 标签所使用的行高
|
||||
* @descEN Line height of h2 tag.
|
||||
* @default 1.35
|
||||
*/
|
||||
lineHeightHeading2: number;
|
||||
/**
|
||||
* @nameZH 三级标题行高
|
||||
* @nameEN Line height of heading level 3
|
||||
* @desc h3 标签所使用的行高
|
||||
* @descEN Line height of h3 tag.
|
||||
* @default 1.3
|
||||
*/
|
||||
lineHeightHeading3: number;
|
||||
/**
|
||||
* @nameZH 四级标题行高
|
||||
* @nameEN Line height of heading level 4
|
||||
* @desc h4 标签所使用的行高
|
||||
* @descEN Line height of h4 tag.
|
||||
* @default 1.25
|
||||
*/
|
||||
lineHeightHeading4: number;
|
||||
/**
|
||||
* @nameZH 五级标题行高
|
||||
* @nameEN Line height of heading level 5
|
||||
* @desc h5 标签所使用的行高
|
||||
* @descEN Line height of h5 tag.
|
||||
* @default 1.2
|
||||
*/
|
||||
lineHeightHeading5: number;
|
||||
}
|
||||
|
@ -10,8 +10,9 @@ export interface StyleMapToken {
|
||||
|
||||
/**
|
||||
* @nameZH XS号圆角
|
||||
* @nameEN XS Border Radius
|
||||
* @desc XS号圆角,用于组件中的一些小圆角,如 Segmented 、Arrow 等一些内部圆角的组件样式中。
|
||||
* @descEN XS size border radius, used in some small border radius components, such as Segmented, Arrow and other components.
|
||||
* @descEN XS size border radius, used in some small border radius components, such as Segmented, Arrow and other components with small border radius.
|
||||
* @default 2
|
||||
*/
|
||||
borderRadiusXS: number;
|
||||
@ -32,6 +33,8 @@ export interface StyleMapToken {
|
||||
*/
|
||||
borderRadiusLG: number;
|
||||
/**
|
||||
* @nameZH 外部圆角
|
||||
* @nameEN Outer Border Radius
|
||||
* @default 4
|
||||
*/
|
||||
borderRadiusOuter: number;
|
||||
|
Loading…
Reference in New Issue
Block a user