@retailmenot/anchor
Version:
A React UI Library by RetailMeNot
16 lines (15 loc) • 655 B
TypeScript
import { FlattenSimpleInterpolation } from '@xstyled/styled-components';
export declare type TypographyTags = 'a' | 'p' | 'span' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'blockquote' | 'address' | 'code' | 'pre' | 'strong' | 'label';
export declare type Scale = 62 | 52 | 44 | 36 | 32 | 28 | 24 | 20 | 18 | 16 | 14 | 12;
export interface TypographyTheme {
fontSize: string;
fontWeight: string;
lineHeight: string;
scale: {
[T in Scale | 'none']: FlattenSimpleInterpolation | {};
};
as: {
[K in TypographyTags | 'none']: FlattenSimpleInterpolation | {};
};
}
export declare const typography: TypographyTheme;