import { getDeviceHeight } from './getDeviceHeight' ; export function responsiveFontSize ( fontSize , standardScreenHeight = 680 ) { const heightPercent = ( fontSize * getDeviceHeight ( ) ) / standardScreenHeight ; return Math . round ( heightPercent ) ; }