revert the warm hue harmonisation

This commit is contained in:
austinried
2026-10-04 00:29:56 +00:00
parent a54a54ffa4
commit c56ae3f0ed
2 changed files with 12 additions and 31 deletions
@@ -59,19 +59,6 @@ class ArtworkColorsTest {
}
}
@Test
fun warmHuesKeepDarkSurfacesOutOfBrown() {
val warmSeeds = listOf(0xFFE6C822.toInt(), 0xFFE68A22.toInt(), 0xFFD53A3A.toInt())
for (seed in warmSeeds) {
val colors = artworkColorsFromSeed(seed)
assertTrue("gradientHigh for $seed", colors.gradientHigh.blue >= colors.gradientHigh.green)
assertTrue(
"surfaceContainerHigh for $seed",
colors.scheme.surfaceContainerHigh.blue >= colors.scheme.surfaceContainerHigh.green,
)
}
}
private fun contrast(
a: Color,
b: Color,