From beddf49c76f3b43e7b33452831e1293cad28fd89 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 26 Feb 2025 13:31:13 +0100 Subject: Improve contrast of light deviation in `palette` --- core/src/theme/palette.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/theme/palette.rs b/core/src/theme/palette.rs index ed49063c..faffee8b 100644 --- a/core/src/theme/palette.rs +++ b/core/src/theme/palette.rs @@ -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) } } -- cgit