@use "sass:math";

// pixel to rem - font-size:rem(16)
@function rem($pixels, $context: 16) {
	@return (math.div($pixels, $context)) * 1rem;
} 


// change text color based on background color - set-color(color-value)
@function set-color($color) {
    @if (lightness($color) > 74) {
      @return #333;
    }
    @else {
      @return #FFF; 
    }
} 


