// Font size mixin to include px and rem @mixin font-size($size, $is-important: false) { @if $is-important { font-size: $size + px !important; font-size: ($size / 10) + rem !important; } @else { font-size: $size + px; font-size: ($size / 10) + rem; } }