Implements the IFontSize interface allowing a default set of divisions for the font size aliases. It takes
a base and scale as defined by the Length class. The base provides the normal (500) value for the
divisions. The scale is then used to calculate the divisions usingthe fontSizeRatio function.
example
Customising the normal font size
```ts
import { FontSize, Scale } from '@ef-carbon/react-native-style';
const fontSize = new FontSize({ base: 20, scale: Scale.AugmentedFourth });
```
Implements the IFontSize interface allowing a default set of divisions for the font size aliases. It takes a
base
andscale
as defined by the Length class. The base provides thenormal
(500
) value for the divisions. Thescale
is then used to calculate the divisions usingthe fontSizeRatio function.Length
Scale