import { TextStyle , ViewStyle } from 'react-native' ; import { config } from '../../constants/config' ; import { ResponsiveStyleSheet , ScaleByFactor } from '../../utils/responsive' ; export interface DiscoverCenterTitleStyles { container : ViewStyle ; title : TextStyle ; highlighted : TextStyle ; search_button : ViewStyle ; } export class DiscoverCenterTitleResponsiveStyles extends ResponsiveStyleSheet < DiscoverCenterTitleStyles > { public baseStyles ( scaleByFactor ) { return { container : { flex : 1 , paddingHorizontal : scaleByFactor ( 26 ) , justifyContent : 'center' , alignItems : 'center' , } , title : { textAlign : 'center' , color : '#999' , fontSize : scaleByFactor ( 16 ) , } , highlighted : { color : config . styles . primaryColor , fontSize : scaleByFactor ( 16 ) , fontWeight : '700' , } , search_button : { marginTop : scaleByFactor ( 16 ) , width : scaleByFactor ( 50 ) , height : scaleByFactor ( 50 ) , borderRadius : scaleByFactor ( 50 ) / 2 , backgroundColor : 'white' , justifyContent : 'center' , alignItems : 'center' , shadowColor : '#000000' , shadowOffset : { width : 0 , height : 1 } , shadowRadius : 0.75 , shadowOpacity : 0.15 , elevation : 0.75 , } , } ; } public lightStyles ( ) { return { } ; } public darkStyles ( ) { return { } ; } } export const discoverCenterTitleResponsiveStyles = new DiscoverCenterTitleResponsiveStyles ( ) ;