Use dark primary color in dark theme

This commit is contained in:
M66B 2019-09-10 09:14:35 +02:00
parent 541de9e257
commit 02d44f5408
2 changed files with 4 additions and 6 deletions

View File

@ -11,8 +11,8 @@
<color name="colorError">#ff0000</color> <color name="colorError">#ff0000</color>
<!-- Light blue 900 --> <!-- Light blue 900 -->
<color name="blackPrimary">#01579b</color> <color name="darkPrimary">#01579b</color>
<color name="blackPrimaryDark">#002f6c</color> <color name="darkPrimaryDark">#002f6c</color>
<!-- Grey 800 / Blue grey 300 --> <!-- Grey 800 / Blue grey 300 -->
<color name="greyPrimary">#424242</color> <color name="greyPrimary">#424242</color>

View File

@ -62,8 +62,8 @@
<item name="themeName">dark</item> <item name="themeName">dark</item>
<item name="android:windowDisablePreview">true</item> <item name="android:windowDisablePreview">true</item>
<item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimary">@color/darkPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item> <item name="colorPrimaryDark">@color/darkPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item> <item name="colorAccent">@color/colorAccent</item>
<item name="colorUnread">@color/colorAccent</item> <item name="colorUnread">@color/colorAccent</item>
@ -101,8 +101,6 @@
<style name="AppThemeBlack" parent="AppThemeDark"> <style name="AppThemeBlack" parent="AppThemeDark">
<item name="themeName">black</item> <item name="themeName">black</item>
<item name="colorPrimary">@color/blackPrimary</item>
<item name="colorPrimaryDark">@color/blackPrimaryDark</item>
<item name="android:windowBackground">@android:color/black</item> <item name="android:windowBackground">@android:color/black</item>
<item name="colorDrawerBackground">@android:color/black</item> <item name="colorDrawerBackground">@android:color/black</item>