Sha256: f72388ecacee7f9045b17b45ff267dd9d0003ce9ecfda10187e534089af6285d
Contents?: true
Size: 393 Bytes
Versions: 2
Compression:
Stored size: 393 Bytes
Contents
// 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; } }
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
gumby_on_rails-0.0.1 | app/assets/stylesheets/gumby/functions/_typography.scss |
middleman-gumby-0.0.1 | vendor/assets/sass/functions/_typography.scss |