fix: improve accentuate to be visible on semi-light colors

This commit is contained in:
Kazhnuz 2021-07-30 12:19:36 +02:00
parent 5e7694a233
commit 93e24a1a8f

View file

@ -34,10 +34,10 @@
}
@function accentuate($color) {
@if (luminance($color) > 255 * $whiteness_value) {
@if (luminance($color) > 64) {
@return darken($color, 7.5%);
} @else {
@return lighten($color, 3%);
@return lighten($color, 4%);
}
}