Hi to all
I’m trying to change the default font in a Ionic v1 application but the new font is not used.
I’ve installed open-sans-fontface with bower:
bower install open-sans-fontface
then i’ve placed the following lines in
scss/ionic.app.scss file (i’m using sass and the rest of variables inside this file are used properly)
@import "www/lib/open-sans-fontface/open-sans.scss"; $font-family-base: 'Open Sans'; $font-family-sans-serif: 'Open Sans'; $font-family-light-sans-serif: 'Open Sans Light';
With Chrome inspector I can see the font file loaded properly, but even by setting
style='font-family: "Open Sans" attribute manually on a tag, the font is not changed.