ui: brighten dark theme

Brighten the dark theme somewhat. This is for two reasons:
- To make colorOnSurface stick out less like a sore thumb
- To be more in line with other material apps
- To make the dark theme differ from the black theme more

Black theme remains unchanged, so if one wants a much darker theme,
then they can use that.
This commit is contained in:
OxygenCobalt
2021-09-01 18:48:02 -06:00
parent acabe9217b
commit 2a695a4977
16 changed files with 8 additions and 25 deletions
@@ -5,6 +5,7 @@
tools:context=".home.HomeFragment">
<androidx.coordinatorlayout.widget.CoordinatorLayout
android:id="@+id/main_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -7,6 +7,7 @@
android:id="@+id/home_recycler"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
tools:listitem="@layout/item_artist" />
+1 -1
View File
@@ -38,5 +38,5 @@
android:id="@+id/action_settings"
android:icon="@drawable/ic_settings"
android:title="@string/set_title"
app:showAsAction="ifRoom"/>
app:showAsAction="never"/>
</menu>
-1
View File
@@ -6,7 +6,6 @@
<color name="inactive">#404040</color>
<color name="control">#ffffff</color>
<color name="nav_bar">#01151515</color>
<color name="secondary_text">#bebebe</color>
<!--
Base color set derived from Music Player GO.
+3 -20
View File
@@ -1,32 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--
Sometimes we need to use the surface colors for modes that aren't the current one.
Colors are kept here just in case
-->
<color name="surface_day">#fffafafa</color>
<color name="surface_night">#ff121212</color>
<color name="surface_black">#ff000000</color>
<color name="surface_day">#fafafa</color>
<color name="surface_night">#202124</color>
<color name="surface_black">@android:color/black</color>
<!--
By default, colorOnSurface when applied sticks out like a sore thumb, so we
darken it a little so it lines up with our dark mode backgrounds.
Yes, this is a flagrant violation of material, but they also say that #121212 is
the recommended black dark color so they have no right to an opinion here.
-->
<color name="on_surface">#606060</color>
<color name="on_surface_black">#CDCDCD</color>
<!--
Typical UI colors.
-->
<color name="surface">@color/surface_day</color>
<color name="selection">#cbcbcb</color>
<color name="control">#202020</color>
<color name="divider">#cbcbcb</color>
<color name="inactive">#c4c4c4</color>
<color name="nav_bar">#01fafafa</color>
<color name="secondary_text">#546e7a</color>
<!--
Base color set derived from Music Player GO.
-2
View File
@@ -12,7 +12,6 @@
<!-- Colors -->
<item name="colorSurface">@color/surface</item>
<item name="colorAccent">@color/design_default_color_primary</item>
<item name="colorOnSurface">@color/on_surface</item>
<item name="colorPrimary">?attr/colorAccent</item>
<item name="colorSecondary">?attr/colorAccent</item>
@@ -47,7 +46,6 @@
<!-- The basic black theme derived in all black accents. -->
<style name="Theme.Base.Black" parent="Theme.Base">
<item name="colorSurface">@color/surface_black</item>
<item name="colorOnSurface">@color/on_surface_black</item>
<item name="materialAlertDialogTheme">@style/Theme.CustomDialog.Black</item>
</style>