Sha256: e15f484c1814cdc4adfeda1fabaa607e0a1175ba50276eaf38d1d81b5799c256

Contents?: true

Size: 430 Bytes

Versions: 3

Compression:

Stored size: 430 Bytes

Contents

// ------------------------------------------------------------------- //
//  Font Size / Line Height
// ------------------------------------------------------------------- //

@mixin font-size($font-size, $line-height: true){
  font-size: $font-size;
  font-size: ($font-size / $base-font-size) * 1rem;
  
  @if $line-height == true{
    line-height: ceil($font-size / $base-line-height) * ($base-line-height / $font-size);
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kentucky-0.5.2 app/assets/stylesheets/kentucky/mixins/_font-size.scss
kentucky-0.5.1 app/assets/stylesheets/kentucky/mixins/_font-size.scss
kentucky-0.5.0 app/assets/stylesheets/kentucky/mixins/_font-size.scss