@import '../variables.scss';
@use 'sass:list';

@function toRem($value...) {
  $result: ();

  @each $val in $value {
      $result: append($result, ($val / $baseSize) * 1rem);
  }

  @return $result;
}
