import { TextStyle , ViewStyle } from 'react-native' ; import { config } from '../../constants/config' ; import { ResponsiveStyleSheet , ScaleByFactor } from '../../utils/responsive' ; export interface LightBoxMessageStyles { message_container : ViewStyle ; message : TextStyle ; } export class LightBoxMessageResponsiveStyles extends ResponsiveStyleSheet < LightBoxMessageStyles > { public baseStyles ( scaleByFactor ) { return { message_container : { alignSelf : 'stretch' , paddingHorizontal : scaleByFactor ( 16 ) , paddingVertical : scaleByFactor ( 11 ) , } , message : { lineHeight : scaleByFactor ( 19 ) , fontSize : scaleByFactor ( 15 ) , } , } ; } public lightStyles ( ) { return { message : { color : config . styles . light . primaryTextColor , } , } ; } public darkStyles ( ) { return { message : { color : config . styles . dark . primaryTextColor , } , } ; } } export const lightBoxMessageResponsiveStyles = new LightBoxMessageResponsiveStyles ( ) ;