import { TextStyle , ViewStyle } from 'react-native' ; import { config } from '../../constants/config' ; import { ResponsiveStyleSheet , ScaleByFactor } from '../../utils/responsive' ; export interface ReviewFeedbackListStyles { header : ViewStyle ; header_text : TextStyle ; list_content_container : ViewStyle ; bold : TextStyle ; } export class ReviewFeedbackListResponsiveStyles extends ResponsiveStyleSheet < ReviewFeedbackListStyles > { public baseStyles ( scaleByFactor ) { return { header : { paddingHorizontal : scaleByFactor ( 16 ) , paddingTop : scaleByFactor ( 16 ) , } , header_text : { fontSize : scaleByFactor ( 14 ) , textAlign : 'center' , } , list_content_container : { paddingBottom : scaleByFactor ( 16 ) , } , bold : { fontWeight : '700' , } , } ; } public lightStyles ( ) { return { header_text : { color : config . styles . light . secondaryTextColor , } , } ; } public darkStyles ( ) { return { header_text : { color : config . styles . dark . secondaryTextColor , } , } ; } } export const reviewFeedbackListResponsiveStyles = new ReviewFeedbackListResponsiveStyles ( ) ;