1
0
Fork 0
mirror of https://github.com/kidoman/embd synced 2025-07-04 20:37:46 +02:00
embd/bower_components/gumby/sass/functions/_typography.scss
2014-03-31 06:33:08 +05:30

15 lines
No EOL
393 B
SCSS

// Typography mixins
// Fonts in rems with px fallback
@mixin font-size($size, $is-important: false) {
$size: if(unitless($size), $size, $size / 1px);
@if $is-important {
font-size: $size + px !important;
font-size: ($size / strip-units($base-font-size)) + rem !important;
} @else {
font-size: $size + px;
font-size: ($size / strip-units($base-font-size)) + rem;
}
}