import { TextStyle , ViewStyle } from 'react-native' ; import { config } from '../../constants/config' ; import { ResponsiveStyleSheet , ScaleByFactor } from '../../utils/responsive' ; export interface EventLogsScreenStyles { screen : ViewStyle ; button_container : ViewStyle ; paragraph : ViewStyle ; text : TextStyle ; } export class EventLogsScreenResponsiveStyles extends ResponsiveStyleSheet < EventLogsScreenStyles > { public baseStyles ( scaleByFactor ) { return { screen : { flex : 1 , } , button_container : { marginTop : scaleByFactor ( 10 ) , paddingHorizontal : scaleByFactor ( 16 ) , } , paragraph : { paddingHorizontal : scaleByFactor ( 16 ) , paddingVertical : scaleByFactor ( 10 ) , } , text : { fontSize : scaleByFactor ( 15 ) , } , } ; } public lightStyles ( ) { return { text : { color : config . styles . light . primaryTextColor , } , } ; } public darkStyles ( ) { return { text : { color : config . styles . dark . primaryTextColor , } , } ; } } export const eventLogsScreenResponsiveStyles = new EventLogsScreenResponsiveStyles ( ) ;