Sha256: 4ad5f19c3b34459d9197dcff5e979e62b80f71dd6e1c63b180e1b51bd4f3e653

Contents?: true

Size: 544 Bytes

Versions: 1

Compression:

Stored size: 544 Bytes

Contents

$typography-header-tags: h1, h2, h3, h4, h5, h6, blockquote !default;

$include-html-paint-typography: true !default;

@mixin typography-font-smoothing($header-tags: $typography-header-tags) {
  body {
    -webkit-font-smoothing: $body-font-smoothing;
  }

  @for $i from 1 through length($header-tags) {
    $tag: nth($header-tags, $i);

    #{$tag} {
      -webkit-font-smoothing: $header-font-smoothing;
    }
  }
}

@include exports("paint-typography") {
  @if $include-html-paint-typography {
    @include typography-font-smoothing;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
paint-rails-0.6.7 vendor/assets/stylesheets/components/_typography.scss