i tried to create mixin/function on sass like this
@function background-set-text-color($color) @if (lightness( $color ) > 40) @return black @else