mirror of https://github.com/x13a/Wasted.git
change theme to material3
This commit is contained in:
parent
9615a2eb6a
commit
f8f78c20fc
|
@ -1,6 +1,6 @@
|
|||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<!-- Base application theme. -->
|
||||
<style name="Theme.Wasted" parent="Theme.MaterialComponents.DayNight.NoActionBar">
|
||||
<style name="Theme.Wasted" parent="Theme.Material3.DayNight.NoActionBar">
|
||||
<!-- Primary brand color. -->
|
||||
<item name="colorPrimary">@color/purple_200</item>
|
||||
<item name="colorPrimaryVariant">@color/purple_700</item>
|
||||
|
@ -12,10 +12,5 @@
|
|||
<!-- Status bar color. -->
|
||||
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="sliderStyle">@style/Widget.App.Slider</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.App.Tooltip" parent="TextAppearance.MaterialComponents.Tooltip">
|
||||
<item name="android:textColor">@color/black</item>
|
||||
</style>
|
||||
</resources>
|
|
@ -1,6 +1,6 @@
|
|||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<!-- Base application theme. -->
|
||||
<style name="Theme.Wasted" parent="Theme.MaterialComponents.DayNight.NoActionBar">
|
||||
<style name="Theme.Wasted" parent="Theme.Material3.DayNight.NoActionBar">
|
||||
<!-- Primary brand color. -->
|
||||
<item name="colorPrimary">@color/purple_500</item>
|
||||
<item name="colorPrimaryVariant">@color/purple_700</item>
|
||||
|
@ -12,24 +12,5 @@
|
|||
<!-- Status bar color. -->
|
||||
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="sliderStyle">@style/Widget.App.Slider</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.App.Slider" parent="Widget.MaterialComponents.Slider">
|
||||
<item name="materialThemeOverlay">@style/ThemeOverlay.App.Slider</item>
|
||||
<item name="labelStyle">@style/Widget.App.Tooltip</item>
|
||||
</style>
|
||||
|
||||
<style name="ThemeOverlay.App.Slider" parent="">
|
||||
<item name="colorPrimary">@color/teal_200</item>
|
||||
<item name="colorOnPrimary">@color/teal_700</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.App.Tooltip" parent="Widget.MaterialComponents.Tooltip">
|
||||
<item name="android:textAppearance">@style/TextAppearance.App.Tooltip</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.App.Tooltip" parent="TextAppearance.MaterialComponents.Tooltip">
|
||||
<item name="android:textColor">@color/white</item>
|
||||
</style>
|
||||
</resources>
|
Loading…
Reference in New Issue