import { TextStyle , ViewStyle } from 'react-native' ; import { config } from '../../constants/config' ; import { ResponsiveStyleSheet , ScaleByFactor } from '../../utils/responsive' ; export interface VocabularyDetailStrokeOrderStyles { container : ViewStyle ; button_text : TextStyle ; } export class VocabularyDetailStrokeOrderResponsiveStyles extends ResponsiveStyleSheet < VocabularyDetailStrokeOrderStyles > { public baseStyles ( scaleByFactor ) { return { container : { } , button_text : { fontSize : scaleByFactor ( 15 ) , color : config . styles . primaryColor , } , } ; } public lightStyles ( ) { return { container : { backgroundColor : config . styles . light . primaryBackgroundColor , } , } ; } public darkStyles ( ) { return { } ; } } export const vocabularyDetailStrokeOrderResponsiveStyles = new VocabularyDetailStrokeOrderResponsiveStyles ( ) ;