mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-11 07:29:14 +01:00
lift warm tonal surfaces to the bright gradient tone
This commit is contained in:
@@ -59,6 +59,14 @@ class ArtworkColorsTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
fun warmArtworkLiftsPlayerSurfaceToTheBrightGradientTone() {
|
||||
val warm = artworkColorsFromSeed(0xFFE6C822.toInt())
|
||||
val cool = artworkColorsFromSeed(0xFF3A7BD5.toInt())
|
||||
assertEquals(warm.gradientHigh, playerSurfaceColor(warm))
|
||||
assertTrue(playerSurfaceColor(cool) != cool.gradientHigh)
|
||||
}
|
||||
|
||||
private fun contrast(
|
||||
a: Color,
|
||||
b: Color,
|
||||
|
||||
Reference in New Issue
Block a user