Skip to content

Latest commit

 

History

History

typography

Typography

Handling font files

The application uses the font Titillium Sans Pro. Fonts are handled differently than Android and iOS. To use the font, TitilliumSansPro-Semibold example, you must apply the following properties for Android:

{
  fontFamily: 'TitilliumSansPro-Semibold'
}

while in iOS the code to be applied is:

{
  fontFamily: 'Titillium Sans Pro',
  fontWeight: '600',
}

To manage fonts and variants more easily, we have created utility functions within the file fonts.ts.