import { TextStyle , ViewStyle } from 'react-native' ; import { ResponsiveStyleSheet , ScaleByFactor } from '../../utils/responsive' ; export interface AtomParticleStyles { particle_container : ViewStyle ; character : TextStyle ; } export class AtomParticleResponsiveStyles extends ResponsiveStyleSheet < AtomParticleStyles > { public baseStyles ( scaleByFactor ) { return { particle_container : { justifyContent : 'center' , alignItems : 'center' , position : 'absolute' , shadowColor : '#000000' , shadowOffset : { width : 0 , height : 0.5 } , shadowRadius : 0.8 , shadowOpacity : 0.2 , } , character : { color : '#fff' , fontSize : scaleByFactor ( 15 ) , fontWeight : 'bold' , } , } ; } public lightStyles ( ) { return { } ; } public darkStyles ( ) { return { } ; } } export const atomParticleResponsiveStyles = new AtomParticleResponsiveStyles ( ) ;