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.
|
@ -30,7 +30,8 @@ import org.oxycblt.auxio.util.queryAll
|
|||
/**
|
||||
* A SQLite database for managing the persistent playback state and queue.
|
||||
* Yes. I know Room exists. But that would needlessly bloat my app and has crippling bugs.
|
||||
* TODO: Improve the boundary between this and [PlaybackStateManager]
|
||||
* TODO: Improve the boundary between this and [PlaybackStateManager]. This would be more
|
||||
* efficient.
|
||||
* @author OxygenCobalt
|
||||
*/
|
||||
class PlaybackStateDatabase(context: Context) :
|
||||
|
|
|
@ -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" />
|
||||
|
|
|
@ -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>
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
0
fastlane/metadata/android/en-US/images/phoneScreenshots/shot0.png
Executable file → Normal file
Before Width: | Height: | Size: 157 KiB After Width: | Height: | Size: 157 KiB |
0
fastlane/metadata/android/en-US/images/phoneScreenshots/shot1.png
Executable file → Normal file
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
0
fastlane/metadata/android/en-US/images/phoneScreenshots/shot2.png
Executable file → Normal file
Before Width: | Height: | Size: 159 KiB After Width: | Height: | Size: 159 KiB |
0
fastlane/metadata/android/en-US/images/phoneScreenshots/shot3.png
Executable file → Normal file
Before Width: | Height: | Size: 163 KiB After Width: | Height: | Size: 163 KiB |
0
fastlane/metadata/android/en-US/images/phoneScreenshots/shot4.png
Executable file → Normal file
Before Width: | Height: | Size: 225 KiB After Width: | Height: | Size: 225 KiB |
0
fastlane/metadata/android/en-US/images/phoneScreenshots/shot5.png
Executable file → Normal file
Before Width: | Height: | Size: 268 KiB After Width: | Height: | Size: 268 KiB |
0
fastlane/metadata/android/en-US/images/phoneScreenshots/shot6.png
Executable file → Normal file
Before Width: | Height: | Size: 189 KiB After Width: | Height: | Size: 189 KiB |