import { TextStyle , ViewStyle } from 'react-native' ; import { config } from '../../constants/config' ; import { ResponsiveStyleSheet , ScaleByFactor } from '../../utils/responsive' ; export interface PublicSetListStyles { list_container : ViewStyle ; center_container : ViewStyle ; message : TextStyle ; button_container : ViewStyle ; } export class PublicSetListResponsiveStyles extends ResponsiveStyleSheet < PublicSetListStyles > { public baseStyles ( scaleByFactor ) { return { list_container : { paddingBottom : scaleByFactor ( 74 ) , paddingTop : scaleByFactor ( 8 ) , } , center_container : { flex : 1 , paddingHorizontal : scaleByFactor ( 16 ) , marginTop : scaleByFactor ( 8 ) , justifyContent : 'center' , alignItems : 'center' , } , message : { fontSize : scaleByFactor ( 15 ) , textAlign : 'center' , } , button_container : { marginTop : scaleByFactor ( 8 ) , } , } ; } public lightStyles ( ) { return { message : { color : config . styles . light . secondaryTextColor , } , } ; } public darkStyles ( ) { return { message : { color : config . styles . dark . secondaryTextColor , } , } ; } } export const publicSetListResponsiveStyles = new PublicSetListResponsiveStyles ( ) ;