import { TextStyle , ViewStyle } from 'react-native' ; import { config } from '../../constants/config' ; import { ResponsiveStyleSheet , ScaleByFactor } from '../../utils/responsive' ; export interface SuggestionsPickerContentStyles { picker_content : ViewStyle ; no_suggestions_text : TextStyle ; highlighted_text : TextStyle ; bold : TextStyle ; } export class SuggestionsPickerContentResponsiveStyles extends ResponsiveStyleSheet < SuggestionsPickerContentStyles > { public baseStyles ( scaleByFactor ) { return { picker_content : { } , no_suggestions_text : { paddingVertical : scaleByFactor ( 10 ) , textAlign : 'center' , fontSize : scaleByFactor ( 14 ) , } , highlighted_text : { color : config . styles . primaryColor , } , bold : { fontWeight : 'bold' , } , } ; } public lightStyles ( ) { return { no_suggestions_text : { color : config . styles . light . primaryTextColor , } , } ; } public darkStyles ( ) { return { no_suggestions_text : { color : config . styles . dark . primaryTextColor , } , } ; } } export const suggestionsPickerContentResponsiveStyles = new SuggestionsPickerContentResponsiveStyles ( ) ;