Sha256: 611b7c6d229f0050e9a3c2d7f94da1fb25c7d3aff57e02d5ea677b547fb698f4

Contents?: true

Size: 1.32 KB

Versions: 8

Compression:

Stored size: 1.32 KB

Contents

@mixin chameleon-typography-inheritance {
  %h1 {
    @extend %font-family-primary;
    font-size: rem-calc(28px);
    font-weight: 400;
    letter-spacing: -1.4px;
    line-height: 1.1em;

    strong {
      font-weight: 500;
    }

    @media #{$medium-up} {
      font-size: rem-calc(34px);
    }
  }

  %h2 {
    @extend %font-family-primary;
    color: $color-black;
    font-size: rem-calc(24px);
    font-weight: 400;
    letter-spacing: -2px;
    line-height: 1.25em;

    @media #{$medium-up} {
      font-size: rem-calc(28px);
    }
  }

  %h3 {
    @extend %font-family-primary;
    font-size: rem-calc(22px);
    font-weight: 400;
    line-height: 1.15em;
  }

  %h4 {
    @extend %font-family-secondary;
    font-size: rem-calc(18px);
    font-weight: 400;
    line-height: 1.4em;
    text-transform: none;
  }

  %h5 {
    @extend %font-family-primary;
    font-size: rem-calc(16px);
    font-weight: 500;
    line-height: 1.1em;
  }

  %h6 {
    @extend %font-family-primary;
    color: $color-black;
    font-size: rem-calc(12px);
    font-weight: 700;
    line-height: 1.1em;
    text-transform: uppercase;
  }

  %p {
    @extend %font-family-secondary;
    font-size: rem-calc(16px);
    font-weight: 400;
    line-height: 1.4em;
  }

  %p-min {
    font-size: rem-calc(14px);
  }

  %p-max {
    font-size: rem-calc(18px);
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pusher-chameleon-1.4.6 stylesheets/typography/_inheritance.scss
pusher-chameleon-1.4.5 stylesheets/typography/_inheritance.scss
pusher-chameleon-1.4.4 stylesheets/typography/_inheritance.scss
pusher-chameleon-1.4.3 stylesheets/typography/_inheritance.scss
pusher-chameleon-1.4.2 stylesheets/typography/_inheritance.scss
pusher-chameleon-1.4.1 stylesheets/typography/_inheritance.scss
pusher-chameleon-1.4.0 stylesheets/typography/_inheritance.scss
pusher-chameleon-1.3.0 stylesheets/typography/_inheritance.scss