18F/micropurchase

View on GitHub
app/assets/stylesheets/core/_fonts.scss

Summary

Maintainability
Test Coverage
@include font-face(
  'Source Sans Pro',
  '#{$font-path}/sourcesanspro-light-webfont',
  300,
  normal,
  $asset-pipeline: true,
  $file-formats: eot woff2 woff ttf
);

@include font-face(
  'Source Sans Pro',
  '#{$font-path}/sourcesanspro-regular-webfont',
  400,
  normal,
  $asset-pipeline: true,
  $file-formats: eot woff2 woff ttf
);

@include font-face(
  'Source Sans Pro',
  '#{$font-path}/sourcesanspro-italic-webfont',
  400,
  italic,
  $asset-pipeline: true,
  $file-formats: eot woff2 woff ttf
);

@include font-face(
  'Source Sans Pro',
  '#{$font-path}/sourcesanspro-bold-webfont',
  700,
  normal,
  $asset-pipeline: true,
  $file-formats: eot woff2 woff ttf
);

@include font-face(
  'Merriweather',
  '#{$font-path}/merriweather-light-webfont',
  300,
  normal,
  $asset-pipeline: true,
  $file-formats: eot woff2 woff ttf
);

@include font-face(
  'Merriweather',
  '#{$font-path}/merriweather-regular-webfont',
  400,
  normal,
  $asset-pipeline: true,
  $file-formats: eot woff2 woff ttf
);

@include font-face(
  'Merriweather',
  '#{$font-path}/merriweather-italic-webfont',
  400,
  italic,
  $asset-pipeline: true,
  $file-formats: eot woff2 woff ttf
);

@include font-face(
  'Merriweather',
  '#{$font-path}/merriweather-bold-webfont',
  700,
  normal,
  $asset-pipeline: true,
  $file-formats: eot woff2 woff ttf
);