The `.rem` mixin function should do this automatically or be adjusted to do so.