Reduce primary variant darkening

pull/935/head
Alex Baker 5 years ago
parent 042762a938
commit 28cbecc2bd

@ -238,7 +238,7 @@ public class ThemeColor implements Pickable {
} else { } else {
colorPrimary = color; colorPrimary = color;
} }
colorPrimaryVariant = ColorUtil.darken(colorPrimary, 12); colorPrimaryVariant = ColorUtil.darken(colorPrimary, 6);
double contrast = ColorUtils.calculateContrast(WHITE, colorPrimary); double contrast = ColorUtils.calculateContrast(WHITE, colorPrimary);
isDark = contrast < 3; isDark = contrast < 3;

Loading…
Cancel
Save