Merge "Incorrect chromas for color roles that are using the neutral palette " into udc-dev

This commit is contained in:
Marcelo Arteiro
2023-04-27 08:13:06 +00:00
committed by Android (Google) Code Review

View File

@@ -32,7 +32,7 @@ public class SchemeTonalSpot extends DynamicScheme {
TonalPalette.fromHueAndChroma(sourceColorHct.getHue(), 16.0),
TonalPalette.fromHueAndChroma(
MathUtils.sanitizeDegreesDouble(sourceColorHct.getHue() + 60.0), 24.0),
TonalPalette.fromHueAndChroma(sourceColorHct.getHue(), 4.0),
TonalPalette.fromHueAndChroma(sourceColorHct.getHue(), 6.0),
TonalPalette.fromHueAndChroma(sourceColorHct.getHue(), 8.0));
}
}