1 2 3 4 5 6 7 8 9
$PHI: 1.61803398 * 1.3; @function sp($sp) { @return ($sp / 16) * 1rem; } @function scale($scale) { @return sp(math.ceil(math.pow($scale, $PHI))); }