Some folks have reported using MDC themes but are specifying fontFamily/android:fontFamily as a top-level theme attribute as opposed to within individual TextAppearance styles. It would be useful to parse this and use it as the defaultFontFamily constructor parameter for Typography.
Some folks have reported using MDC themes but are specifying
fontFamily
/android:fontFamily
as a top-level theme attribute as opposed to within individualTextAppearance
styles. It would be useful to parse this and use it as thedefaultFontFamily
constructor parameter forTypography
.AppCompat Compose Theme Adapter does this so we can adapt the implementation: https://github.com/google/accompanist/blob/main/appcompat-theme/src/main/java/com/google/accompanist/appcompattheme/AppCompatTheme.kt#L220