I have two distinct fonts for my ionic 3 application. Lato for english and Droid for Arabic. I tried the below inside the variable.scss file but it doesnt work. Only Lato is selected which possibly means dir=rtl is not on the upper hierarchy on the DOM chain. My code is below inside the variable.scss
That is not how scss variables work… and unfortunately there is no programmatic way to do this. However, you should either do “Droid, Lato” if droid is not supported on ltr, or manually override the app font… (that way it will show Droid for Arabic but go to Latin when it can’t)