mirror of
https://github.com/binwiederhier/ntfy-android.git
synced 2024-05-17 11:02:36 +12:00
Fix status and top bar color issues
This commit is contained in:
parent
ef949c0cf4
commit
339e8d2814
|
@ -1,6 +1,7 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:tint="?colorControlNormal"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:tint="?colorControlNormal"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
|
|
|
@ -13,24 +13,14 @@
|
|||
<style name="AppTheme" parent="Theme.Material3.DayNight">
|
||||
<item name="colorPrimary">@color/teal_light</item>
|
||||
<item name="colorSecondary">@color/teal_light</item> <!-- checkboxes, text fields -->
|
||||
<item name="android:colorBackground">@color/black_900</item> <!-- background -->
|
||||
<item name="android:statusBarColor">@color/black_900</item>
|
||||
<item name="actionModeBackground">@color/black_900</item>
|
||||
|
||||
<!-- Action bar background & text color -->
|
||||
<item name="colorSurface">@color/black_800b</item>
|
||||
<item name="colorOnSurface">@color/white</item>
|
||||
|
||||
<item name="android:colorBackground">?backgroundColor</item> <!-- background -->
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
<item name="actionModeBackground">?backgroundColor</item>
|
||||
|
||||
<item name="switchPreferenceCompatStyle">@style/MaterialSwitch</item>
|
||||
</style>
|
||||
|
||||
<style name="DangerText" parent="@android:style/TextAppearance">
|
||||
<item name="android:textColor">@color/red_light</item>
|
||||
</style>
|
||||
|
||||
<style name="FloatingActionButton" parent="@style/Widget.Material3.FloatingActionButton.Primary" />
|
||||
|
||||
<style name="CardView" parent="@style/Widget.Material3.CardView.Elevated" />
|
||||
|
||||
<style name="CardViewBackground" />
|
||||
</resources>
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
<resources>
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<!-- Main app theme; dark theme styles see values-night/styles.xml -->
|
||||
<style name="AppTheme" parent="Theme.Material3.DayNight">
|
||||
<item name="colorPrimary">@color/teal</item>
|
||||
<item name="colorSecondary">@color/teal</item> <!-- checkboxes, text fields -->
|
||||
<item name="android:colorBackground">@color/white</item> <!-- background -->
|
||||
<item name="android:statusBarColor">@color/teal</item>
|
||||
<item name="actionModeBackground">@color/teal_dark</item>
|
||||
|
||||
<item name="android:windowLightStatusBar" tools:ignore="NewApi">true</item>
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
<item name="actionModeBackground">?colorSecondary</item>
|
||||
<item name="switchPreferenceCompatStyle">@style/MaterialSwitch</item>
|
||||
</style>
|
||||
|
||||
|
|
Loading…
Reference in a new issue