Improve contrast of light deviation in palette
This commit is contained in:
parent
cf2b28fd74
commit
beddf49c76
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue