docs: add most alias token meta info by gpt3.5 (#41297)

This commit is contained in:
Arvin Xu 2023-03-17 14:21:42 +08:00 committed by GitHub
parent 3ed7895596
commit de04b0d183
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 580 additions and 103 deletions

View File

@ -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 h1h2h3
* @nameEN Font weight for heading components (such as h1, h2, h3) or selected item
* @desc h1h2h3
* @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;
/**

View File

@ -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 ResultProgress 使
* @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
}

View File

@ -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;
}

View File

@ -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;