I’m trying to using a custom font in Ionic 4 unsuccessful.
My method is similar that I was using in v3:
- Create a file named theme/museo-sans-rounded.scss with my all custom font-face properties
- Import this file into theme/variable.scss: @import ‘museo-sans-rounded’;
- Add a new property --ion-font-family: ‘Museo Sans Rounded’; inside :root {} in theme/variable.scss
But the custom font isn’t displayed correctly. Ionic keeps using the default font instead my custom font.
I didn’t see any documentation about this topic.