import { TextStyle , ViewStyle } from 'react-native' ; import { ResponsiveStyleSheet , ScaleByFactor } from '../../utils/responsive' ; export interface WordClassListStyles { word_class_container : ViewStyle ; word_class : TextStyle ; } export class WordClassListResponsiveStyles extends ResponsiveStyleSheet < WordClassListStyles > { public baseStyles ( scaleByFactor ) { return { word_class_container : { borderRadius : scaleByFactor ( 3 ) , marginVertical : scaleByFactor ( 2 ) , paddingVertical : scaleByFactor ( 1 ) , paddingHorizontal : scaleByFactor ( 7 ) , marginRight : scaleByFactor ( 5 ) , } , word_class : { textAlign : 'center' , fontSize : scaleByFactor ( 15 ) , } , } ; } public lightStyles ( ) { return { } ; } public darkStyles ( ) { return { } ; } } export const wordClassListResponsiveStyles = new WordClassListResponsiveStyles ( ) ;