2022-11-30 11:48:47 +08:00
|
|
|
|
export interface StyleMapToken {
|
|
|
|
|
/**
|
|
|
|
|
* @nameZH 线宽
|
|
|
|
|
* @nameEN Line Width
|
|
|
|
|
* @desc 描边类组件的默认线宽,如 Button、Input、Select 等输入类控件。
|
|
|
|
|
* @descEN The default line width of the outline class components, such as Button, Input, Select, etc.
|
|
|
|
|
* @default 1
|
|
|
|
|
*/
|
|
|
|
|
lineWidthBold: number;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @nameZH XS号圆角
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameEN XS Border Radius
|
2022-11-30 11:48:47 +08:00
|
|
|
|
* @desc XS号圆角,用于组件中的一些小圆角,如 Segmented 、Arrow 等一些内部圆角的组件样式中。
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @descEN XS size border radius, used in some small border radius components, such as Segmented, Arrow and other components with small border radius.
|
2022-11-30 11:48:47 +08:00
|
|
|
|
* @default 2
|
|
|
|
|
*/
|
|
|
|
|
borderRadiusXS: number;
|
|
|
|
|
/**
|
|
|
|
|
* @nameZH SM号圆角
|
|
|
|
|
* @nameEN SM Border Radius
|
|
|
|
|
* @desc SM号圆角,用于组件小尺寸下的圆角,如 Button、Input、Select 等输入类控件在 small size 下的圆角
|
|
|
|
|
* @descEN SM size border radius, used in small size components, such as Button, Input, Select and other input components in small size
|
|
|
|
|
* @default 4
|
|
|
|
|
*/
|
|
|
|
|
borderRadiusSM: number;
|
|
|
|
|
/**
|
|
|
|
|
* @nameZH LG号圆角
|
|
|
|
|
* @nameEN LG Border Radius
|
|
|
|
|
* @desc LG号圆角,用于组件中的一些大圆角,如 Card、Modal 等一些组件样式。
|
|
|
|
|
* @descEN LG size border radius, used in some large border radius components, such as Card, Modal and other components.
|
|
|
|
|
* @default 8
|
|
|
|
|
*/
|
|
|
|
|
borderRadiusLG: number;
|
|
|
|
|
/**
|
2023-03-17 14:21:42 +08:00
|
|
|
|
* @nameZH 外部圆角
|
|
|
|
|
* @nameEN Outer Border Radius
|
2022-11-30 11:48:47 +08:00
|
|
|
|
* @default 4
|
|
|
|
|
*/
|
|
|
|
|
borderRadiusOuter: number;
|
|
|
|
|
}
|