2025-08-07 18:55:05 +08:00

25 lines
540 B
TypeScript

export const Fonts = {
// Font family
primary: 'english',
// Font weights
regular: '400',
medium: '500',
semiBold: '600',
bold: '700',
// Font sizes
xs: 12,
sm: 14,
base: 16,
lg: 18,
xl: 20,
'2xl': 24,
'3xl': 30,
'4xl': 36,
'5xl': 48,
} as const;
export type FontWeight = keyof Omit<typeof Fonts, 'primary' | 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl'>;
export type FontSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl';