Sha256: ec0be8e2cabb00bba6926b85ccd1c67309e1b0375e0535184594ab9dd42609d7
Contents?: true
Size: 951 Bytes
Versions: 6
Compression:
Stored size: 951 Bytes
Contents
// -------------------------------------- // // #tools.mixins // // -------------------------------------- // Apply ‘attention’ styles in one go. =attention($self: false) @if $self != false &, &:hover, &:active, &:focus @content @else &:hover, &:active, &:focus @content // Generate Helvetica Neue’s numbered font-weights from their aliases. =font-weight($font-weight) @if $font-weight == "thin" font-weight: 100 @if $font-weight == "light" font-weight: 300 @if $font-weight == "regular" font-weight: 400 @if $font-weight == "semibold" font-weight: 500 @if $font-weight == "bold" font-weight: 600 @if $font-weight == "black" font-weight: 800 // Create all specified heading styles in one go. =headings($from: 1, $to: 6) %base-heading @content @if $from >= 1 and $to <= 6 @for $i from $from through $to h#{$i} @extend %base-heading
Version data entries
6 entries across 6 versions & 2 rubygems