Styling Font Size vs. FitText vs. Ionic4 ShadowDom, BEST UX

#1

Hello,

we used in our ionic2/3 projects “angular-fittext” to have the largest possible font size per container. See this widgets for example, as you can see the left upper widget has the smaller font size then the right upper widget.
The font size is calculated with fittext depending on container size , viewport size and and and.
image

The problem is in Ionic4 we have ShadowDom and “angular-fittext” is not compatible with shadow dom.

So our main question is, which is the best UX for FontSize in an APP.

Thx