Added Material You elevation color
This commit is contained in:
parent
6aedfbc2cb
commit
b281b8395a
8 changed files with 26 additions and 2 deletions
|
@ -30,5 +30,6 @@
|
|||
<item name="colorSurface">@color/darkColorSurface</item>
|
||||
<item name="materialCardViewStyle">@style/Widget.MaterialComponents.CardView</item>
|
||||
<item name="bottomSheetTint">@color/bottomSheetColor</item>
|
||||
<item name="elevationOverlayColor">@color/elevationOverlayDark</item>
|
||||
</style>
|
||||
</resources>
|
4
app/src/main/res/values-night/colors_md3.xml
Normal file
4
app/src/main/res/values-night/colors_md3.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="elevationOverlay">@color/elevationOverlayDark</color>
|
||||
</resources>
|
|
@ -31,5 +31,6 @@
|
|||
<item name="android:navigationBarColor">@android:color/transparent</item>
|
||||
<item name="materialCardViewStyle">@style/Widget.Material3.CardView.Elevated</item>
|
||||
<item name="bottomSheetTint">@color/bottomSheetColor</item>
|
||||
<item name="elevationOverlayColor">@color/elevationOverlayDark</item>
|
||||
</style>
|
||||
</resources>
|
|
@ -28,6 +28,7 @@
|
|||
<item name="materialButtonStyle">@style/MaterialButtonTheme</item>
|
||||
<item name="materialCardViewStyle">@style/Widget.Material3.CardView.Elevated</item>
|
||||
<item name="bottomSheetTint">@color/bottomSheetColor</item>
|
||||
<item name="elevationOverlayColor">@color/elevationOverlay</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.RetroMusic.Base" parent="Theme.Material3.DayNight.NoActionBar">
|
||||
|
@ -49,6 +50,7 @@
|
|||
<item name="android:windowBackground">@color/window_color_dark</item>
|
||||
<item name="materialCardViewStyle">@style/Widget.Material3.CardView.Elevated</item>
|
||||
<item name="bottomSheetTint">@color/bottomSheetColorDark</item>
|
||||
<item name="elevationOverlayColor">@color/elevationOverlayDark</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.RetroMusic.Base.Light" parent="Theme.Material3.Light.NoActionBar">
|
||||
|
@ -67,6 +69,6 @@
|
|||
<item name="bottomNavigationStyle">@style/Widget.Material3.BottomNavigationView</item>
|
||||
<item name="materialCardViewStyle">@style/Widget.Material3.CardView.Elevated</item>
|
||||
<item name="bottomSheetTint">@color/bottomSheetColorLight</item>
|
||||
<item name="elevationOverlayColor">@color/md_grey_400</item>
|
||||
<item name="elevationOverlayColor">@color/elevationOverlayLight</item>
|
||||
</style>
|
||||
</resources>
|
5
app/src/main/res/values-v31/colors_md3.xml
Normal file
5
app/src/main/res/values-v31/colors_md3.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="elevationOverlayLight">@android:color/system_accent1_100</color>
|
||||
<color name="elevationOverlayDark">@android:color/system_accent1_900</color>
|
||||
</resources>
|
6
app/src/main/res/values/colors_md3.xml
Normal file
6
app/src/main/res/values/colors_md3.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="elevationOverlayLight">@color/md_grey_600</color>
|
||||
<color name="elevationOverlayDark">@color/md_grey_700</color>
|
||||
<color name="elevationOverlay">@color/elevationOverlayLight</color>
|
||||
</resources>
|
|
@ -16,6 +16,7 @@
|
|||
<item name="popupWindowStyle">@style/MaterialPopupMenuStyle</item>
|
||||
<item name="materialCardViewStyle">@style/Widget.Material3.CardView.Elevated</item>
|
||||
<item name="bottomSheetTint">@color/bottomSheetColor</item>
|
||||
<item name="elevationOverlayColor">@color/elevationOverlay</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.RetroMusic.Base" parent="Theme.Material3.DayNight.NoActionBar">
|
||||
|
@ -36,6 +37,7 @@
|
|||
<item name="popupMenuStyle">@style/MaterialPopupMenuStyle</item>
|
||||
<item name="materialCardViewStyle">@style/Widget.Material3.CardView.Elevated</item>
|
||||
<item name="bottomSheetTint">@color/bottomSheetColorDark</item>
|
||||
<item name="elevationOverlayColor">@color/elevationOverlayDark</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.RetroMusic.Base.Black" parent="Theme.Material3.DayNight.NoActionBar">
|
||||
|
@ -54,6 +56,7 @@
|
|||
<item name="popupMenuStyle">@style/MaterialPopupMenuStyle</item>
|
||||
<item name="materialCardViewStyle">@style/Widget.Material3.CardView.Elevated</item>
|
||||
<item name="bottomSheetTint">@color/bottomSheetColorBlack</item>
|
||||
<item name="elevationOverlayColor">@color/elevationOverlayDark</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.RetroMusic.Base.Light" parent="Theme.Material3.Light.NoActionBar">
|
||||
|
@ -72,7 +75,7 @@
|
|||
<item name="popupMenuStyle">@style/MaterialPopupMenuStyle</item>
|
||||
<item name="materialCardViewStyle">@style/Widget.Material3.CardView.Elevated</item>
|
||||
<item name="bottomSheetTint">@color/bottomSheetColorLight</item>
|
||||
<item name="elevationOverlayColor">@color/md_grey_400</item>
|
||||
<item name="elevationOverlayColor">@color/elevationOverlayLight</item>
|
||||
</style>
|
||||
|
||||
<style name="MusicProgressSliderParent">
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
<color name="md_grey_200">#EEEEEE</color>
|
||||
<color name="md_grey_400">#BDBDBD</color>
|
||||
<color name="md_grey_500">#9E9E9E</color>
|
||||
<color name="md_grey_600">#757575</color>
|
||||
<color name="md_grey_700">#616161</color>
|
||||
<color name="md_grey_800">#424242</color>
|
||||
|
||||
<color name="md_black_1000">#000000</color>
|
||||
|
|
Loading…
Reference in a new issue