////
/// @author Newton Koumantzelis
////

/// Darkens a color by mixing it with black
/// @since 1.12.0 - The Sith
/// @param {Color} $color - a color
/// @param {Percentage} $percent - a percentage to mix the color with black
/// @return {Color} - modified color
/// @example scss
///   a:hover {
///     background-color: shade(blue, 50%);
///   }
@function shade($color, $percent) {
	@return mix(rgb(0, 0, 0), $color, $percent);
}
