$base-font-size: 16 !default;

// rem($pixel-equivalent)
@function rem($pixel-equivalent) {
  $rem: $pixel-equivalent / $base-font-size * 1.0rem;
  @return $rem;
}

$base-font-size: 16 !default;

// rem($pixel-equivalent)
@function rem($pixel-equivalent) {
  @return $pixel-equivalent / $base-font-size * 1.0rem;
}

Refactor function to avoid creating variable
Refactor function to avoid creating variable
