Clean up ActionMode styles

This commit is contained in:
arkon 2021-11-15 10:48:07 -05:00
parent 619eca7a51
commit 25784d1fe5
2 changed files with 1 additions and 11 deletions

View file

@ -9,13 +9,8 @@
<item name="android:colorControlHighlight">?attr/rippleColorToolbar</item> <item name="android:colorControlHighlight">?attr/rippleColorToolbar</item>
</style> </style>
<style name="Widget.Tachiyomi.Toolbar.Button.Navigation" parent="Widget.AppCompat.Toolbar.Button.Navigation"> <style name="Widget.Tachiyomi.ActionMode" parent="Widget.Material3.ActionMode">
<item name="tint">?attr/colorOnToolbar</item>
</style>
<style name="Widget.Tachiyomi.ActionMode" parent="Widget.AppCompat.ActionMode">
<item name="background">?attr/colorToolbar</item> <item name="background">?attr/colorToolbar</item>
<item name="titleTextStyle">@style/TextAppearance.Tachiyomi.ActionMode.Title</item>
</style> </style>
<style name="Theme.Tachiyomi.ActionMode.CloseButton" parent="Widget.AppCompat.ActionButton.CloseMode"> <style name="Theme.Tachiyomi.ActionMode.CloseButton" parent="Widget.AppCompat.ActionButton.CloseMode">
@ -73,10 +68,6 @@
<item name="android:textColor">?attr/colorOnBackground</item> <item name="android:textColor">?attr/colorOnBackground</item>
</style> </style>
<style name="TextAppearance.Tachiyomi.ActionMode.Title" parent="TextAppearance.Material3.HeadlineSmall">
<item name="android:textColor">?attr/colorOnToolbar</item>
</style>
<style name="TextAppearance.Tachiyomi.Preference.Secondary" parent="TextAppearance.Material3.BodySmall" /> <style name="TextAppearance.Tachiyomi.Preference.Secondary" parent="TextAppearance.Material3.BodySmall" />
<style name="TextAppearance.Tachiyomi.SectionHeader" parent="TextAppearance.Material3.LabelLarge"> <style name="TextAppearance.Tachiyomi.SectionHeader" parent="TextAppearance.Material3.LabelLarge">

View file

@ -69,7 +69,6 @@
<item name="actionModeCloseButtonStyle">@style/Theme.Tachiyomi.ActionMode.CloseButton</item> <item name="actionModeCloseButtonStyle">@style/Theme.Tachiyomi.ActionMode.CloseButton</item>
<item name="actionModeCloseDrawable">@drawable/ic_close_24dp</item> <item name="actionModeCloseDrawable">@drawable/ic_close_24dp</item>
<item name="actionBarTheme">@style/ThemeOverlay.Tachiyomi.ActionBar</item> <item name="actionBarTheme">@style/ThemeOverlay.Tachiyomi.ActionBar</item>
<item name="toolbarNavigationButtonStyle">@style/Widget.Tachiyomi.Toolbar.Button.Navigation</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay.Tachiyomi</item> <item name="preferenceTheme">@style/PreferenceThemeOverlay.Tachiyomi</item>
<item name="bottomSheetDialogTheme">@style/ThemeOverlay.Tachiyomi.BottomSheetDialog</item> <item name="bottomSheetDialogTheme">@style/ThemeOverlay.Tachiyomi.BottomSheetDialog</item>
<item name="chipStyle">@style/Widget.Tachiyomi.Chip.Action</item> <item name="chipStyle">@style/Widget.Tachiyomi.Chip.Action</item>