typography: {
body1: { fontSize: string };
body2: { fontSize: string; fontWeight: number };
caption: { fontSize: string; fontWeight: number };
fontFamily: string;
h1: {
fontSize: string;
fontWeight: number;
letterSpacing: number;
lineHeight: number;
};
h2: { fontSize: string; fontWeight: number; lineHeight: number };
h3: { fontSize: string; lineHeight: number };
h4: { fontSize: string; fontWeight: number; lineHeight: number };
h5: { fontSize: string; fontWeight: number };
h6: { fontSize: string; fontWeight: number };
subtitle1: { fontSize: string };
subtitle2: { fontSize: string; fontWeight: number };
} = ...
Type declaration
body1: { fontSize: string }
body2: { fontSize: string; fontWeight: number }
caption: { fontSize: string; fontWeight: number }
fontFamily: string
h1: {
fontSize: string;
fontWeight: number;
letterSpacing: number;
lineHeight: number;
}
h2: { fontSize: string; fontWeight: number; lineHeight: number }
h3: { fontSize: string; lineHeight: number }
h4: { fontSize: string; fontWeight: number; lineHeight: number }
h5: { fontSize: string; fontWeight: number }
h6: { fontSize: string; fontWeight: number }
subtitle1: { fontSize: string }
subtitle2: { fontSize: string; fontWeight: number }
Typography scale (Inter) used by the theme.