import { ViewStyle } from 'react-native' ; import { config } from '../../constants/config' ; import { ResponsiveStyleSheet , ScaleByFactor } from '../../utils/responsive' ; export interface LightBoxDialogStyles { dialog_container : ViewStyle ; } export class LightBoxDialogResponsiveStyles extends ResponsiveStyleSheet < LightBoxDialogStyles > { public baseStyles ( scaleByFactor ) { return { dialog_container : { flexShrink : 1 , justifyContent : 'center' , alignItems : 'center' , flexWrap : 'wrap' , borderRadius : scaleByFactor ( 3 ) , marginVertical : scaleByFactor ( 16 ) , } , } ; } public lightStyles ( ) { return { dialog_container : { backgroundColor : config . styles . light . primaryBackgroundColor , } , } ; } public darkStyles ( ) { return { dialog_container : { backgroundColor : config . styles . dark . primaryBackgroundColor , } , } ; } } export const lightBoxDialogResponsiveStyles = new LightBoxDialogResponsiveStyles ( ) ;