// Output pixel font sizes in rems from $font-base
// Recommended polyfill: https://github.com/chuckcarpenter/REM-unit-polyfill
$use-rem: false !default
@function rem($target, $context: $font-base)
    @if $use-rem
        @if $target == 0
            @return 0
        @if $target == 1px
            @return 1px
        @return $target / $context + 0rem
    @else
        @return $target

// Output pixel font sizes in rems from $font-base
// Recommended polyfill: https://github.com/chuckcarpenter/REM-unit-polyfill
$use-rem: false !default
@function rem($target, $context: $font-base)
    @if $use-rem
        @if $target == 0
            @return 0
        @return $target / $context + 0rem
    @else
        @return $target

Revert "Update rem mixin to return 1px for rem(1px)"
Revert "Update rem mixin to return 1px for rem(1px)"

This reverts commit 365b1c5de6952a754a00098704fce1cacdcb907d.
