Not quite what I’m after, but I think what I want(ed) is probably quite a weird case that is atypical. I wanted to apply a compose
to a view-based
component. The only tricky part really was applying the right Typeface. In the end I nope’d out of that plan and did a more limited solution instead lol
1 year ago
I suppose you could just create a specific text composable that has all the attributes you need. So you'd have an H1Text and BodyText and SubBodyText and all of those would have the right combination of TypeStyle and Modifiers already set. So you and your team basically only have to use a small subset of composable anytime you want text on the screen.