ant-design/components/theme/interface/maps/size.ts
MadCcc 91f9fc2ff9
perf: token update (#39428)
* fix: token update

* refactor: font map token

* chore: code clean

* chore: code clean

* chore: code clean

* chore: update snapshot

* chore: menu style
2022-12-09 17:52:34 +08:00

56 lines
923 B
TypeScript

export interface SizeMapToken {
/**
* @nameZH XXL
* @default 48
*/
sizeXXL: number;
/**
* @nameZH XL
* @default 32
*/
sizeXL: number;
/**
* @nameZH LG
* @default 24
*/
sizeLG: number;
/**
* @nameZH MD
* @default 20
*/
sizeMD: number;
/** Same as size by default, but could be larger in compact mode */
sizeMS: number;
/**
* @nameZH 默认
* @desc 默认尺寸
* @default 16
*/
size: number;
/**
* @nameZH SM
* @default 12
*/
sizeSM: number;
/**
* @nameZH XS
* @default 8
*/
sizeXS: number;
/**
* @nameZH XXS
* @default 4
*/
sizeXXS: number;
}
export interface HeightMapToken {
// Control
/** @internal Only Used for control inside component like Multiple Select inner selection item */
controlHeightXS: number;
/** @internal */
controlHeightSM: number;
/** @internal */
controlHeightLG: number;
}