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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user