<p class="font-style--xxl-light">Type Style 1</p>
<i>Used for hero headers</i>

<p class="font-style--xl-light">Type Style 2</p>
<i>Used for section headers and subheaders</i>

<p class="font-style--large-regular">Type Style 3</p>
<i>Used for hero subheaders</i>

<p class="font-style--med-bold-uppercase">Type Style 4</p>
<i>Used for section headers, buttons</i>

<p class="font-style--small-bold-uppercase">Type Style 5</p>
<i>Used for navigation, labels</i>

<p class="font-style--small-bold">Type Style 6</p>
<i>Used for nav dropdowns</i>

<p class="font-style--med-regular">Type Style 7</p>
<i>Used for body copy</i>

<p class="font-style--smallest-regular">Type Style 8</p>
<i>Used for table captions, other table elements</i>

<br><br> Heading Defaults:
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>

<br><br> Paragraph:
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor
    in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>

<br><br> Link:
<p>Lorem <a href="#">ipsum dolor</a> sit amet</p>

<br><br> Horizontal Rule:
<hr>

<br><br> List:
<ul class="list--body">
    <li>List Item</li>
    <li>List Item</li>
    <li>List Item</li>
    <li>List Item</li>
</ul>

<br><br> Blockquote:
<blockquote>
    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</blockquote>

<br><br> Cite:
<cite>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</cite>

<br><br> Hero Headings

<h1 class="heading--hero">Heading Hero</h1>
<h1 class="heading--hero--xl">Heading Hero XL</h1>

<br><br> Section Headings

<h1 class="heading--section">Heading Section</h1>
<h1 class="heading--section--w-subhead">Heading Section w/ Subhead</h1>

<br><br>

<h1 class="heading--item">Heading Item</h1>
<p class="font-style--xxl-light">Type Style 1</p>
<i>Used for hero headers</i>

<p class="font-style--xl-light">Type  Style 2</p>
<i>Used for section headers and subheaders</i>

<p class="font-style--large-regular">Type  Style 3</p>
<i>Used for hero subheaders</i>

<p class="font-style--med-bold-uppercase">Type Style 4</p>
<i>Used for section headers, buttons</i>

<p class="font-style--small-bold-uppercase">Type Style 5</p>
<i>Used for navigation, labels</i>

<p class="font-style--small-bold">Type Style 6</p>
<i>Used for nav dropdowns</i>

<p class="font-style--med-regular">Type Style 7</p>
<i>Used for body copy</i>

<p class="font-style--smallest-regular">Type Style 8</p>
<i>Used for table captions, other table elements</i>

<br><br>

Heading Defaults:
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>

<br><br>

Paragraph:
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>

<br><br>

Link:
<p>Lorem <a href="#">ipsum dolor</a> sit amet</p>

<br><br>

Horizontal Rule:
<hr>

<br><br>

List:
<ul class="list--body">
  <li>List Item</li>
  <li>List Item</li>
  <li>List Item</li>
  <li>List Item</li>
</ul>

<br><br>

Blockquote:
<blockquote>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</blockquote>

<br><br>

Cite:
<cite>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</cite>

<br><br>

Hero Headings

<h1 class="heading--hero">Heading Hero</h1>
<h1 class="heading--hero--xl">Heading Hero XL</h1>

<br><br>

Section Headings

<h1 class="heading--section">Heading Section</h1>
<h1 class="heading--section--w-subhead">Heading Section w/ Subhead</h1>

<br><br>

<h1 class="heading--item">Heading Item</h1>
/* No context defined for this component. */
  • Content:
    // Type Styles
    @mixin font-style--xxl-light { // Style 1: hero headers
      font-size: $font-size-xxl;
      font-weight: $font-weight-light;
    }
    
    @mixin font-style--xl-light {  // Style 2: section headers and subheaders
      font-size: $font-size-xl;
      font-weight: $font-weight-light;
    }
    
    @mixin font-style--large-regular {  // Style 3: hero subheaders
      font-size: $font-size-large;
      font-weight: $font-weight-regular;
    }
    
    @mixin font-style--med-bold-uppercase { // Style 4: section headers, buttons
      font-size: $font-size-med;
      font-weight: $font-weight-bold;
      text-transform: uppercase;
    }
    
    @mixin font-style--small-bold-uppercase { // Style 5: navigation, labels
      font-size: $font-size-small;
      font-weight: $font-weight-bold;
      text-transform: uppercase;
    }
    
    @mixin font-style--small-bold { // Style 6: nav dropdowns, pagination
      font-size: $font-size-small;
      font-weight: $font-weight-bold;
    }
    
    @mixin font-style--med-regular { // Style 7: body copy
      font-size: $font-size-med;
      font-weight: $font-weight-regular;
    }
    
    @mixin font-style--smallest-regular { // Style 8: table captions, other table elements
      font-size: $font-size-smallest;
      font-weight: $font-weight-regular;
    }
    
    @mixin base-body-copy {
      @include font-style--med-regular;
      line-height: $base-line-height;
    }
    
    @mixin base-heading-copy {
      color: $header-text-color-dark;
      line-height: $header-line-height;
      text-decoration: none;
      margin-bottom: $type-margin;
    }
    
    @mixin link {
      color: $base-link-color;
      text-decoration: none;
      font-weight: $font-weight-bold;
      cursor: pointer;
    
      &:hover,
      &:focus,
      &:active {
        text-decoration: underline;
      }
    
      &:visited {
        color: $visited-link-color;
      }
    
      &:active, &:focus {
        outline: none;
      }
    }
    
  • URL: /components/raw/typography/_type_styles.scss
  • Filesystem Path: sass/directives/00_variables/typography/_type_styles.scss
  • Size: 1.7 KB
  • Content:
    @import url(https://fonts.googleapis.com/css?family=Lato:300,400,400i,700);
    
    // Typefaces
    $lato: Lato, 'Lato', Helvetica, Arial, sans-serif;
    
    $base-font-family: $lato;
    $header-font-family: $lato;
    
    // Font Sizes - Standard
    $font-size-xxl: 2.75rem; // 44px
    $font-size-xl: 1.875rem; // 30px
    $font-size-large: 1.375rem; // 22px
    $font-size-med: 0.9375rem; // 15px
    $font-size-small: 0.8125rem; // 13px
    $font-size-smallest: 0.6875rem; // 11px
    
    // Font Sizes - Non-Standard
      // NOTE: Use namespacing so usage is clear.
      // Not for reuse unless a new pattern has emerged
    $error-page__large-header-text: $base-font-size * 8; // 128px
    $error-page__large-header-text--mobile: $base-font-size * 4; //64px
    
    // Font Weights
    $font-weight-light: 300;
    $font-weight-regular: 400;
    $font-weight-bold: 700;
    
    // Text Colors
    $text-color-dark: $anchor-blue; // typically used on non-white backgrounds
    $text-color-grey: $grey-demon; // default text color. used on white backgrounds
    $text-color-grey-light: $grey-dark; // toggle-switch tabs
    
    $header-text-color-light: white; // typically used on blue/gradient backgrounds
    $header-text-color-dark: $text-color-dark;
    $hero-text-color-light: white; // typically used on blue/gradient backgrounds
    $hero-text-color-dark: $anchor-blue;
    
    $base-accent-color: $emerald;  // TODO check whether this is still in use. Used on .text--accent > used on email modal > not in use?
    $text-highlight: $lime-dark; // price/discount elements
    
    // Text Colors - Links
    $base-link-color: $sky-blue;
    $hover-link-color: $sky-blue-light;
    $visited-link-color: $purple;
    
    // Line height
    $base-line-height: 1.5;
    $header-line-height: 1.25;
    
    // Type Spacing
    $type-margin-large: 28px; // hero headers
    $type-margin: 20px;
    $type-margin--small: 12px; // used with headers/fonts font-size-med and smaller
    
    $type-indent: 2em;
    
  • URL: /components/raw/typography/_typography.scss
  • Filesystem Path: sass/directives/00_variables/typography/_typography.scss
  • Size: 1.8 KB

There are no notes for this item.