Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 945daa31 authored by Evan Laird's avatar Evan Laird
Browse files

[Battery] Update fill colors

They were incorrectly defined backwards, using the darker GM600 fill
when the frame was lighter, and GM500 when the frame was darker.

This change corrects the inversion (using lighter fill when the frame is
lighter), and also increases the instensity, moving from GM600 -> GM700
and GM500 -> GM400

Test: manual
Bug: 314812750
Flag: ACONFIG com.android.settingslib.flags.new_status_bar_icons DEVELOPMENT
Change-Id: I45c2a9b0dff5bff03c4a86582807cd2048fc59d8
parent a0d8e5fb
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -97,8 +97,8 @@ sealed interface BatteryColors {

        // 18% alpha black
        override val fill = Color.valueOf(0f, 0f, 0f, 0.18f).toArgb()
        // GM Gray 500
        override val fillOnly = Color.parseColor("#9AA0A6")
        // GM Gray 700
        override val fillOnly = Color.parseColor("#5F6368")

        // GM Red 600
        override val errorForeground = Color.parseColor("#D93025")
@@ -117,8 +117,8 @@ sealed interface BatteryColors {

        // 22% alpha white
        override val fill = Color.valueOf(1f, 1f, 1f, 0.22f).toArgb()
        // GM Gray 600
        override val fillOnly = Color.parseColor("#80868B")
        // GM Gray 400
        override val fillOnly = Color.parseColor("#BDC1C6")

        // GM Red 600
        override val errorForeground = Color.parseColor("#D93025")