RTL in Ionic 4 in the SCSS

Before i used this in SCSS in Ionic v3 but this does not work in Ionic 4?

.my-headertext{
  @include ltr() { // ENGLISH
    font-size: 14px;
    font-family: normal-font;
  }
  @include rtl() { // ARABIC
    font-size: 14px;
    font-family: arabiclabel-font;
  }
}

I tried to migrate my Ionic 3 to 4 but get stuck with this issue.

Is there any solution for this?

Not an answer, but, RTL support has been shipped last week with Ionic v4-rc.2

Not sure if that mixing still exist or not, have a look to the doc or source code

I dont find anything on beta v4 documentation about RTL… are there other documentation i can get?

Den måndag 21 januari 2019 10:31:37 EET, Reedrichards via Ionic ionicframework@discoursemail.com skrev:


reedrichards

    January 21

Not an answer, but, RTL support has been shipped last week with Ionic v4-rc.2

Not sure if that mixing still exist or not, have a look to the doc or source code

Like I said not sure how it works, don’t know much except that the support is here. I would guess that it works out of the box but didn’t tried

Locking this issue to follow along on:

Please do not create duplicate topics, instead you can comment to bump the topic to the top of the forums. Thanks!