Skip to content

Commit

Permalink
fix color inheritance issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sk22 committed Oct 6, 2023
1 parent c2184e7 commit c10cdfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mastodon/src/main/res/layout/tab_bar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
android:layout_marginTop="-4dp"
android:layout_marginStart="-12dp"
android:background="@drawable/bg_tabbar_badge"
android:textColor="?colorM3OnPrimary"
android:textColor="?colorM3OnError"
android:gravity="center"
android:includeFontPadding="false"
android:textAppearance="@style/m3_label_small"
Expand Down
2 changes: 1 addition & 1 deletion mastodon/src/main/res/values/palettes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
<item name="colorNeutral25">@color/m3_neutral2_10</item>
</style>

<style name="ColorPalette.Material3.Dark">
<style name="ColorPalette.Material3.Dark" parent="">
<item name="colorM3Primary">@color/m3_sys_dark_primary</item>
<item name="colorM3OnPrimary">@color/m3_sys_dark_on_primary</item>
<item name="colorM3PrimaryContainer">@color/m3_sys_dark_primary_container</item>
Expand Down

0 comments on commit c10cdfd

Please sign in to comment.