ant-design/components/theme/interface/maps/font.ts

123 lines
2.8 KiB
TypeScript
Raw Normal View History

export interface FontMapToken {
// Font Size
/**
* @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;
// LineHeight
/**
* @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;
}