Updated dark mode colors to be more pleasing on the eye.

This commit is contained in:
Antoine POPINEAU 2019-10-21 12:20:29 +02:00
parent 31063fb40f
commit 045248adc6
No known key found for this signature in database
GPG Key ID: A78AC64694F84063
6 changed files with 22 additions and 4 deletions

View File

@ -18,8 +18,8 @@ android {
applicationId "com.github.apognu.otter"
minSdkVersion 23
targetSdkVersion 29
versionCode 4
versionName "1.0.3"
versionCode 5
versionName "1.0.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

View File

@ -93,5 +93,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:backgroundTint="@color/colorAccent"
android:textColor="@android:color/white"
android:text="@string/login_submit" />
</LinearLayout>

View File

@ -13,7 +13,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:elevation="4dp"
app:tabMode="scrollable" />
app:tabMode="scrollable"
app:tabSelectedTextColor="@color/controlColor" />
<androidx.viewpager.widget.ViewPager
android:id="@+id/pager"

View File

@ -1,10 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="surface">#121212</color>
<color name="colorPrimary">#71a5cd</color>
<color name="colorPrimary">#283f4e</color>
<color name="colorAccent">#99440c</color>
<color name="colorSelected">#525252</color>
<color name="itemTitle">#caffffff</color>
<color name="controlForeground">#caffffff</color>
<color name="controlColor">#327eae</color>
</resources>

View File

@ -13,4 +13,5 @@
<color name="itemTitle">@android:color/black</color>
<color name="controlForeground">@color/colorPrimary</color>
<color name="controlColor">@color/colorPrimary</color>
</resources>

View File

@ -8,12 +8,23 @@
<item name="colorAccent">@color/colorAccent</item>
<item name="android:navigationBarColor">@color/colorPrimary</item>
<item name="materialButtonStyle">@style/AppTheme.ButtonStyle</item>
<item name="preferenceTheme">@style/AppTheme.Preference</item>
</style>
<style name="AppTheme.Fragment">
</style>
<style name="AppTheme.ButtonStyle" parent="Widget.MaterialComponents.Button">
<item name="materialThemeOverlay">@style/AppTheme.ButtonStyleTextColor</item>
</style>
<style name="AppTheme.ButtonStyleTextColor">
<item name="colorPrimary">@android:color/transparent</item>
<item name="colorOnPrimary">@color/controlColor</item>
</style>
<style name="AppTheme.Title">
<item name="android:fontFamily">sans-serif-light</item>
<item name="android:textSize">28sp</item>