changed the way relief colors are calculated

This commit is contained in:
Néstor Andreu 2023-03-13 20:19:16 +01:00
parent c52aee8169
commit 7c09d3f566
5 changed files with 699 additions and 696 deletions

View file

@ -4,10 +4,13 @@
@function highlight_border ($c) {
@return lighten($c, 15%);
$mixValue: lightness($c);
@return mix(white,$c, $mixValue);
}
@function shadow_border ($c) {
@return darken($c, 10%);
$mixValue: (100% - lightness($c)) / 2;
@return mix(black,$c, $mixValue);//darken($c, 10%);
}