fix: improve accentuate to be visible on semi-light colors
This commit is contained in:
parent
5e7694a233
commit
93e24a1a8f
1 changed files with 2 additions and 2 deletions
|
@ -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%);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue