import { IIconSizes } from '@naturacosmeticos/natds-styles' ; import { IThemeWeb } from '../../Themes' ; type IconFontSizeArgs = { size ? : keyof IIconSizes ; theme : IThemeWeb ; } ; export const getFontSize = ( { size = 'standard' , theme } ) => { todo if ( typeof theme !== 'undefined' && typeof theme . iconSizes !== 'undefined' && typeof theme . iconSizes [ size ] !== 'undefined' ) { const { iconSizes } = theme ; const fontSize = iconSizes [ size ] ; return `${ fontSize }px` ; } return '1em' ; } ;