https://kotlinlang.org logo
#compose
Title
# compose
y

yschimke

12/16/2021, 4:46 PM
If I want to print out the Typeface names for each style in MaterialTheme.typography, is there a trick to do that? It seems like you get to FontFamily.Default, and that's the abstract concept of the default system font. And advice is to read the font config files in the system. But am I missing something? I know if I care about specific fonts, I can specify those. But I'd actually just like to understand the defaults on screen in the matching style.
1
c

Colton Idle

12/16/2021, 6:24 PM
I tried to do this a while back for our design system in our app, but failed and just hard coded it 😅 subscribing here if you figure it out.
👍🏻 1