import { TextStyle , ViewStyle } from 'react-native' ; import { config } from '../../constants/config' ; import { ResponsiveStyleSheet , ScaleByFactor } from '../../utils/responsive' ; export interface VocabularyBulkActionBarStyles { container : ViewStyle ; selection_text : TextStyle ; number_of_selected : TextStyle ; buttons : ViewStyle ; button_container : ViewStyle ; } export class VocabularyBulkActionBarResponsiveStyles extends ResponsiveStyleSheet < VocabularyBulkActionBarStyles > { public baseStyles ( scaleByFactor ) { return { container : { flexDirection : 'row' , justifyContent : 'space-between' , alignItems : 'center' , backgroundColor : config . styles . primaryColor , paddingHorizontal : scaleByFactor ( 16 ) , paddingVertical : scaleByFactor ( 12 ) , } , selection_text : { flexShrink : 1 , fontSize : scaleByFactor ( 15 ) , color : 'white' , } , number_of_selected : { fontWeight : 'bold' , } , buttons : { flexDirection : 'row' , justifyContent : 'center' , alignItems : 'center' , } , button_container : { paddingLeft : scaleByFactor ( 12 ) , } , } ; } public lightStyles ( ) { return { } ; } public darkStyles ( ) { return { } ; } } export const vocabularyBulkActionBarResponsiveStyles = new VocabularyBulkActionBarResponsiveStyles ( ) ;