$em-base needs to be defined for this, so you may need to pull out $base-font-size and $em-base into this file.