Improve contrast of light deviation in palette

This commit is contained in:
Héctor Ramón Jiménez 2025-02-26 13:31:13 +01:00
parent cf2b28fd74
commit beddf49c76
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -635,7 +635,7 @@ fn deviate(color: Color, amount: f32) -> Color {
if is_dark(color) {
lighten(color, amount)
} else {
darken(color, amount * 0.7)
darken(color, amount * 0.8)
}
}