import { TextStyle } from 'react-native' import { systemWeights } from 'react-native-typography' type FontSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl' export const fontSize: Record = { xs: { fontSize: 12, }, sm: { fontSize: 14, }, base: { fontSize: 16, }, lg: { fontSize: 18, }, xl: { fontSize: 20, }, } type FontWeight = 'regular' | 'semibold' | 'bold' export const fontWeight: Record = { regular: { ...systemWeights.regular, }, semibold: { ...systemWeights.semibold, }, bold: { ...systemWeights.bold, }, } export const header: TextStyle = { ...fontSize.base, ...fontWeight.bold, } type Align = 'center' export const align: Record = { center: { textAlign: 'center', }, }