import { TextStyle , ViewStyle } from 'react-native' ; import { config } from '../../constants/config' ; import { ResponsiveStyleSheet , ScaleByBreakpoints , ScaleByFactor , defaultHorizontalMarginByBreakpoints , } from '../../utils/responsive' ; export interface SignInFormStyles { form : ViewStyle ; other_containers : ViewStyle ; touchable_text : TextStyle ; other_text : TextStyle ; } export class SignInFormResponsiveStyles extends ResponsiveStyleSheet < SignInFormStyles > { public baseStyles ( scaleByFactor , scaleByBreakpoints ) { return { form : { flex : 1 , } , other_containers : { flexDirection : 'row' , justifyContent : 'space-between' , marginHorizontal : scaleByBreakpoints ( defaultHorizontalMarginByBreakpoints ) , marginTop : scaleByFactor ( 16 ) , } , touchable_text : { } , other_text : { fontSize : scaleByFactor ( 15 ) , color : config . styles . lightPrimaryColor , } , } ; } public lightStyles ( ) { return { } ; } public darkStyles ( ) { return { } ; } } export const signInFormResponsiveStyles = new SignInFormResponsiveStyles ( ) ;