UNPKG

2.21 kBTypeScriptView Raw
1export interface TypographyClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the root element if `variant="body2"`. */
5 body2: string;
6 /** Styles applied to the root element if `variant="body1"`. */
7 body1: string;
8 /** Styles applied to the root element if `variant="caption"`. */
9 caption: string;
10 /** Styles applied to the root element if `variant="button"`. */
11 button: string;
12 /** Styles applied to the root element if `variant="h1"`. */
13 h1: string;
14 /** Styles applied to the root element if `variant="h2"`. */
15 h2: string;
16 /** Styles applied to the root element if `variant="h3"`. */
17 h3: string;
18 /** Styles applied to the root element if `variant="h4"`. */
19 h4: string;
20 /** Styles applied to the root element if `variant="h5"`. */
21 h5: string;
22 /** Styles applied to the root element if `variant="h6"`. */
23 h6: string;
24 /** Styles applied to the root element if `variant="subtitle1"`. */
25 subtitle1: string;
26 /** Styles applied to the root element if `variant="subtitle2"`. */
27 subtitle2: string;
28 /** Styles applied to the root element if `variant="overline"`. */
29 overline: string;
30 /** Styles applied to the root element if `variant="inherit"`. */
31 inherit: string;
32 /** Styles applied to the root element if `align="left"`. */
33 alignLeft: string;
34 /** Styles applied to the root element if `align="center"`. */
35 alignCenter: string;
36 /** Styles applied to the root element if `align="right"`. */
37 alignRight: string;
38 /** Styles applied to the root element if `align="justify"`. */
39 alignJustify: string;
40 /** Styles applied to the root element if `nowrap={true}`. */
41 noWrap: string;
42 /** Styles applied to the root element if `gutterBottom={true}`. */
43 gutterBottom: string;
44 /**
45 * Styles applied to the root element if `paragraph={true}`.
46 * @deprecated
47 */
48 paragraph: string;
49}
50export type TypographyClassKey = keyof TypographyClasses;
51export declare function getTypographyUtilityClass(slot: string): string;
52declare const typographyClasses: TypographyClasses;
53export default typographyClasses;