amis-rpc-design/node_modules/antd/lib/theme/interface/maps/font.d.ts

118 lines
2.9 KiB
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
export interface FontMapToken {
/**
* @desc
* @descEN Small font size
*/
fontSizeSM: number;
/**
* @desc
* @descEN Standard font size
*/
fontSize: number;
/**
* @desc
* @descEN Large font size
*/
fontSizeLG: number;
/**
* @desc
* @descEN Super large font size
*/
fontSizeXL: number;
/**
* @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;
/**
* @desc
* @descEN Line height of text.
*/
lineHeight: number;
/**
* @desc
* @descEN Line height of large text.
*/
lineHeightLG: number;
/**
* @desc
* @descEN Line height of small text.
*/
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;
}