Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
fix system-wide bold text
Browse files Browse the repository at this point in the history
closes #225
  • Loading branch information
sk22 committed Nov 27, 2023
1 parent 79d5067 commit d8c73ea
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions mastodon/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@
<item name="android:showText">false</item>
</style>

<style name="alert_title">
<style name="alert_title" parent="android:TextAppearance.DeviceDefault">
<item name="android:textSize">24sp</item>
<item name="android:minHeight">38dp</item>
<item name="android:gravity">center_vertical</item>
Expand All @@ -327,45 +327,45 @@
<item name="android:textColor">?colorM3OnSurface</item>
</style>

<style name="sheet_title">
<style name="sheet_title" parent="android:TextAppearance.DeviceDefault">
<item name="android:textSize">20sp</item>
<item name="android:gravity">center_vertical</item>
</style>

<style name="m3_body_large">
<style name="m3_body_large" parent="android:TextAppearance.DeviceDefault">
<item name="android:textSize">16sp</item>
<item name="android:lineSpacingExtra">5sp</item>
<item name="android:lineHeight" tools:ignore="NewApi">24dp</item>
</style>

<style name="m3_body_medium">
<style name="m3_body_medium" parent="android:TextAppearance.DeviceDefault">
<item name="android:textSize">14sp</item>
<item name="android:lineSpacingExtra">4sp</item>
</style>

<style name="m3_body_small">
<style name="m3_body_small" parent="android:TextAppearance.DeviceDefault">
<item name="android:textSize">12sp</item>
<item name="android:lineSpacingExtra">2sp</item>
</style>

<style name="m3_title_medium">
<style name="m3_title_medium" parent="android:TextAppearance.DeviceDefault">
<item name="android:fontFamily">sans-serif-medium</item>
<item name="android:textSize">16sp</item>
<item name="android:lineSpacingExtra">5sp</item>
</style>

<style name="m3_title_small">
<style name="m3_title_small" parent="android:TextAppearance.DeviceDefault">
<item name="android:fontFamily">sans-serif-medium</item>
<item name="android:textSize">14sp</item>
</style>

<style name="m3_label_small">
<style name="m3_label_small" parent="android:TextAppearance.DeviceDefault">
<item name="android:fontFamily">sans-serif-medium</item>
<item name="android:textSize">11sp</item>
<item name="android:lineSpacingExtra">3sp</item>
</style>

<style name="m3_label_medium">
<style name="m3_label_medium" parent="android:TextAppearance.DeviceDefault">
<item name="android:fontFamily">sans-serif-medium</item>
<item name="android:textSize">12sp</item>
<item name="android:lineSpacingMultiplier">1.14</item>
Expand All @@ -374,12 +374,12 @@
<item name="android:lineHeight" tools:ignore="NewApi">16dp</item>
</style>

<style name="m3_label_large">
<style name="m3_label_large" parent="android:TextAppearance.DeviceDefault">
<item name="android:fontFamily">sans-serif-medium</item>
<item name="android:textSize">14sp</item>
</style>

<style name="m3_title_large">
<style name="m3_title_large" parent="android:TextAppearance.DeviceDefault">
<item name="android:fontFamily">sans-serif-medium</item>
<item name="android:textSize">22sp</item>
</style>
Expand Down

0 comments on commit d8c73ea

Please sign in to comment.