Updated dark mode colors to be more pleasing on the eye.
This commit is contained in:
parent
31063fb40f
commit
045248adc6
|
@ -18,8 +18,8 @@ android {
|
||||||
applicationId "com.github.apognu.otter"
|
applicationId "com.github.apognu.otter"
|
||||||
minSdkVersion 23
|
minSdkVersion 23
|
||||||
targetSdkVersion 29
|
targetSdkVersion 29
|
||||||
versionCode 4
|
versionCode 5
|
||||||
versionName "1.0.3"
|
versionName "1.0.4"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -93,5 +93,6 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:backgroundTint="@color/colorAccent"
|
android:backgroundTint="@color/colorAccent"
|
||||||
|
android:textColor="@android:color/white"
|
||||||
android:text="@string/login_submit" />
|
android:text="@string/login_submit" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -13,7 +13,8 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:elevation="4dp"
|
android:elevation="4dp"
|
||||||
app:tabMode="scrollable" />
|
app:tabMode="scrollable"
|
||||||
|
app:tabSelectedTextColor="@color/controlColor" />
|
||||||
|
|
||||||
<androidx.viewpager.widget.ViewPager
|
<androidx.viewpager.widget.ViewPager
|
||||||
android:id="@+id/pager"
|
android:id="@+id/pager"
|
||||||
|
|
|
@ -1,10 +1,14 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<color name="surface">#121212</color>
|
<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="colorSelected">#525252</color>
|
||||||
<color name="itemTitle">#caffffff</color>
|
<color name="itemTitle">#caffffff</color>
|
||||||
|
|
||||||
<color name="controlForeground">#caffffff</color>
|
<color name="controlForeground">#caffffff</color>
|
||||||
|
|
||||||
|
<color name="controlColor">#327eae</color>
|
||||||
</resources>
|
</resources>
|
|
@ -13,4 +13,5 @@
|
||||||
<color name="itemTitle">@android:color/black</color>
|
<color name="itemTitle">@android:color/black</color>
|
||||||
|
|
||||||
<color name="controlForeground">@color/colorPrimary</color>
|
<color name="controlForeground">@color/colorPrimary</color>
|
||||||
|
<color name="controlColor">@color/colorPrimary</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -8,12 +8,23 @@
|
||||||
<item name="colorAccent">@color/colorAccent</item>
|
<item name="colorAccent">@color/colorAccent</item>
|
||||||
<item name="android:navigationBarColor">@color/colorPrimary</item>
|
<item name="android:navigationBarColor">@color/colorPrimary</item>
|
||||||
|
|
||||||
|
<item name="materialButtonStyle">@style/AppTheme.ButtonStyle</item>
|
||||||
|
|
||||||
<item name="preferenceTheme">@style/AppTheme.Preference</item>
|
<item name="preferenceTheme">@style/AppTheme.Preference</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="AppTheme.Fragment">
|
<style name="AppTheme.Fragment">
|
||||||
</style>
|
</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">
|
<style name="AppTheme.Title">
|
||||||
<item name="android:fontFamily">sans-serif-light</item>
|
<item name="android:fontFamily">sans-serif-light</item>
|
||||||
<item name="android:textSize">28sp</item>
|
<item name="android:textSize">28sp</item>
|
||||||
|
|
Loading…
Reference in New Issue