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

Commit d6874eeb authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Dim down AI color chroma

Per UX team request

Fixes: 424002513
Test: atest ShortPillScreenshotTest
Test: atest NavBarPillScreenshotTest
Test: atest ActionListScreenshotTest
Flag: EXEMPT bugfix
Change-Id: I0881fa389e578ab99b177c91c5c4a59d7f31362f
parent e608e21b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,6 +29,6 @@ object AiColorUtils {
        if (chroma <= 3) {
            return color
        }
        return ColorUtils.M3HCTToColor(outColor[0], 120f, outColor[2])
        return ColorUtils.M3HCTToColor(outColor[0], 70f, outColor[2])
    }
}
+1 −1
Original line number Diff line number Diff line
@@ -240,7 +240,7 @@ class BaseBackgroundDrawable(
        return if (chroma < 5) {
            color
        } else {
            ColorUtils.M3HCTToColor(hctColor[0], 120f, hctColor[2])
            ColorUtils.M3HCTToColor(hctColor[0], 70f, hctColor[2])
        }
    }
}