mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 11:17:25 +01:00
Use default snackbar styles (fixes unreadable text)
Sorry AMOLED users, you'll just have to deal with the brief light snackbars.
This commit is contained in:
parent
be4f27028c
commit
dc39669321
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<corners android:radius="@dimen/card_radius" />
|
||||
<solid android:color="?attr/colorSurface" />
|
||||
</shape>
|
@ -102,15 +102,6 @@
|
||||
</style>
|
||||
|
||||
|
||||
<style name="Widget.Tachiyomi.Snackbar" parent="Widget.Material3.Snackbar">
|
||||
<item name="android:background">@drawable/snackbar_background</item>
|
||||
<item name="actionTextColorAlpha">1</item>
|
||||
</style>
|
||||
<style name="Widget.Tachiyomi.Snackbar.TextView" parent="Widget.Material3.Snackbar.TextView">
|
||||
<item name="android:textColor">?attr/colorOnSurface</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="Widget.Tachiyomi.Chip.Action" parent="Widget.Material3.Chip.Suggestion">
|
||||
<item name="chipBackgroundColor">?attr/chipBackgroundColor</item>
|
||||
<item name="android:textColor">?attr/chipTextColor</item>
|
||||
|
@ -74,8 +74,6 @@
|
||||
<item name="chipStyle">@style/Widget.Tachiyomi.Chip.Action</item>
|
||||
<item name="chipTextColor">?android:attr/textColorPrimary</item>
|
||||
<item name="chipBackgroundColor">?android:attr/divider</item>
|
||||
<item name="snackbarStyle">@style/Widget.Tachiyomi.Snackbar</item>
|
||||
<item name="snackbarTextViewStyle">@style/Widget.Tachiyomi.Snackbar.TextView</item>
|
||||
<item name="textInputStyle">@style/Widget.Material3.TextInputLayout.OutlinedBox</item>
|
||||
<item name="appBarLayoutStyle">@style/Widget.Material3.AppBarLayout</item>
|
||||
<item name="toolbarStyle">@style/Widget.Material3.Toolbar.Surface</item>
|
||||
|
Loading…
Reference in New Issue
Block a user