@janiscommerce/ui-native
Version:
components library for Janis app
38 lines (37 loc) • 886 B
TypeScript
export type TypographyItem = {
fontWeight: '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
fontSize: number;
lineHeight: number;
letterSpacing?: number;
};
export type Typography = {
display: {
medium: TypographyItem;
};
heading: {
large: TypographyItem;
medium: TypographyItem;
small: TypographyItem;
};
title: {
large: TypographyItem;
medium: TypographyItem;
small: TypographyItem;
};
label: {
large: TypographyItem;
medium: TypographyItem;
small: TypographyItem;
};
body: {
large: TypographyItem;
medium: TypographyItem;
small: TypographyItem;
};
overline: {
large: TypographyItem;
small: TypographyItem;
};
};
declare const typography: Typography;
export default typography;