Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update m3 typography in the demo app. #2215

Merged
merged 9 commits into from
Oct 18, 2023
15 changes: 10 additions & 5 deletions demo/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@

</style>

<style name="AppCard" parent="Widget.MaterialComponents.CardView">
<style name="AppCard" parent="Widget.Material3.CardView.Outlined">
<item name="cardElevation">8dp</item>
</style>

Expand All @@ -79,16 +79,21 @@
</style>

<style name="AppTheme.PatientDetails.headline">
<item name="android:textAppearance">?attr/textAppearanceHeadline6</item>
<item name="android:textSize">24sp</item>
<item
name="android:textAppearance"
>?attr/textAppearanceHeadlineSmall</item>
<item name="android:textStyle">normal</item>
</style>

<style name="AppTheme.PatientDetails.Subtitle2">
<item name="android:textAppearance">?attr/textAppearanceSubtitle2</item>
<item
name="android:textAppearance"
>?attr/textAppearanceTitleSmall</item>
</style>

<style name="AppTheme.PatientDetails.body2">
<item name="android:textAppearance">?attr/textAppearanceBody2</item>
<item
name="android:textAppearance"
>?attr/textAppearanceBodyMedium</item>
</style>
</resources>