Searched refs:shades (Results 1 – 1 of 1) sorted by relevance
160 fun pairContrastCheck(palette: IntArray, shades: Pair<Int, Int>, contrastLevel: Double) { in <lambda>()161 val background = palette[shadeToArrayIndex(shades.first)] in <lambda>()162 val foreground = palette[shadeToArrayIndex(shades.second)] in <lambda>()177 atLeast4dot45.forEach { shades -> pairContrastCheck(palette, shades, 4.45) } in <lambda>() method178 atLeast3dot0.forEach { shades -> pairContrastCheck(palette, shades, 3.0) } in <lambda>() method