4 * Convert a $breakpoint map from px to em
5 * This function is specific to include-media library
6 * @param {Map} $breakpoints - A include-media breakpoint map
7 * @param {Number} $base-value - The base pixel value of the app for media queries
8 * @return {Map} - The $breakpoints map converted in em
10 @function im-to-em($breakpoints, $base-value: 16px) {
13 @each $name, $value in $breakpoints {
14 $em-value: (math.div($value, $base-value)) * 1em;
15 $new-breakpoints: map-merge(
23 @return $new-breakpoints;