mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-23 21:55:57 +03:00
Tweak dark theme snackbar (closes #2699)
This commit is contained in:
parent
6872455922
commit
9c44cae5b8
2 changed files with 3 additions and 2 deletions
|
@ -202,6 +202,8 @@
|
|||
|
||||
<style name="Theme.Widget.Snackbar" parent="Widget.MaterialComponents.Snackbar">
|
||||
<item name="android:background">@drawable/snackbar_bg</item>
|
||||
<item name="android:textAppearance">@style/TextAppearance.Widget.Menu</item>
|
||||
<item name="actionTextColorAlpha">1</item>
|
||||
</style>
|
||||
|
||||
|
||||
|
|
|
@ -131,6 +131,7 @@
|
|||
<item name="alertDialogTheme">@style/Theme.AlertDialog.Dark</item>
|
||||
<item name="chipStyle">@style/Theme.Widget.Chip</item>
|
||||
<item name="buttonStyle">@style/Theme.Widget.Button.Outlined.Accent</item>
|
||||
<item name="snackbarStyle">@style/Theme.Widget.Snackbar</item>
|
||||
<item name="snackbarButtonStyle">@style/Theme.Widget.Button</item>
|
||||
<item name="textAppearanceButton">@style/TextAppearance.Widget.Button</item>
|
||||
<item name="android:itemTextAppearance">@style/TextAppearance.Widget.Menu</item>
|
||||
|
@ -166,8 +167,6 @@
|
|||
<item name="android:navigationBarColor">@android:color/transparent</item>
|
||||
|
||||
<!-- Themes -->
|
||||
<!-- Surface-colored snackbar -->
|
||||
<item name="snackbarStyle">@style/Theme.Widget.Snackbar</item>
|
||||
<item name="md_background_color">@color/colorAmoledPrimary</item>
|
||||
|
||||
<!-- Custom Attributes-->
|
||||
|
|
Loading…
Reference in a new issue