import { TextStyle , ViewStyle } from 'react-native' ; import { ResponsiveStyleSheet , ScaleByFactor } from '../../utils/responsive' ; export interface PreloadScreenStyles { screen : ViewStyle ; message : TextStyle ; } export class PreloadScreenResponsiveStyles extends ResponsiveStyleSheet < PreloadScreenStyles > { public baseStyles ( scaleByFactor ) { return { screen : { flex : 1 , paddingHorizontal : scaleByFactor ( 16 ) , justifyContent : 'center' , alignItems : 'center' , } , message : { paddingTop : scaleByFactor ( 10 ) , textAlign : 'center' , fontSize : scaleByFactor ( 13 ) , color : '#fff' , } , } ; } public lightStyles ( ) { return { } ; } public darkStyles ( ) { return { } ; } } export const preloadScreenResponsiveStyles = new PreloadScreenResponsiveStyles ( ) ;