Applying css retrieved via rest service


I got some css coming in from a rest service and i would like to apply that to the app. Non of the actual style options have worked so far. (using the styles value of a @component or {{ customStyle }} in the html.

Does any one got any other ideas ?

Preferably i would write it in a file on the mobile device of the person and than load it in but i’m not sure how that would work.

With best regards,