mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 23:21:59 +01:00
revert the warm hue harmonisation
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user