Sha256: ba5fb5646a6b1e6f45459cde727f4c1ba4a144f8ca9b9312a1983623951fee0a

Contents?: true

Size: 548 Bytes

Versions: 81

Compression:

Stored size: 548 Bytes

Contents

@import "compass/typography/vertical_rhythm"
@import "base/variables"

=font-scale($step,$font-size: $base-font-size)
  $new-font-size: $font-size * $step
  @if $step > 1
    @if $step > 1.5
      @include adjust-font-size-to($new-font-size,2)
    @else
      @include adjust-font-size-to($new-font-size,3/2)
  @else
    @if $step < 1
      @if $step < 0.8
        @include adjust-font-size-to($new-font-size,1/2)
      @else
        @include adjust-font-size-to($new-font-size,2/3)
    @else
      @include adjust-font-size-to($new-font-size,1)


Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
rbbt-rest-1.4.13 share/views/compass/base/font-scale.sass