@patreon/studio
Version:
Patreon Studio Design System
30 lines (29 loc) • 1.05 kB
TypeScript
import type { ValueOrResponsive } from '../utilities/opaque-responsive';
export interface BodyTextBundle {
size?: ValueOrResponsive<'xs' | 'sm' | 'md' | 'lg'>;
weight?: 'normal' | 'bold';
}
export interface HeadingTextBundle {
size?: ValueOrResponsive<'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
weight?: 'light' | 'normal' | 'medium';
}
export interface DisplayTextBundle {
size?: ValueOrResponsive<'md' | 'lg' | 'xl' | 'xxl' | 'xxxl'>;
weight?: 'light' | 'normal' | 'medium';
}
export interface DataBodyTextBundle {
size?: ValueOrResponsive<'xs' | 'sm' | 'md' | 'lg'>;
weight?: 'normal' | 'bold';
}
export interface DataHeadingTextBundle {
size?: ValueOrResponsive<'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
weight?: 'light' | 'normal' | 'medium';
}
export interface DataDisplayTextBundle {
size?: ValueOrResponsive<'md' | 'lg' | 'xl' | 'xxl' | 'xxxl'>;
weight?: 'light' | 'normal' | 'medium';
}
export interface ButtonTextBundle {
size?: ValueOrResponsive<'sm' | 'md' | 'lg'>;
weight?: 'normal' | 'bold';
}