/**
 * Rem module
 *
 * Convert px to rem in a readable fashion.
 *
 * Example: font-size: rem.convert( 21px );
 */

@use "sass:math";

$root-font-size: 16px;

@function convert( $pixels, $context: $root-font-size ) {

	@return math.div($pixels, $context) * 1rem;
}
