Skip to content

Commit

Permalink
set -load-local-fonts to false by default and removed double loading …
Browse files Browse the repository at this point in the history
…of typography
  • Loading branch information
katemenkhaus committed May 5, 2017
1 parent 0123889 commit f7300a3
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 51 deletions.
4 changes: 2 additions & 2 deletions _base.typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ $predix-font-family: "GE Inspira Sans", sans-serif !default;
/// Load fonts locally
/// @group px-typography-design:variables:style
/// @type Boolean [default]
$predix-load-local-fonts: true !default;
$predix-load-local-fonts: false !default;

/// Webfont path
/// @group px-typography-design:variables:style
/// @type String [default]
$inuit-webfont-path: '//dzlpbrbc7yvq0.cloudfront.net/predixdev/fonts/2.0.0' !default;

//FIXME: flip back to false when CDN fonts are available
//flip back to false when CDN fonts are available
@if $predix-load-local-fonts == true {
$inuit-webfont-path: '../px-typography-design/type';
}
Expand Down
7 changes: 0 additions & 7 deletions css/px-typography-design-demo-styles.html

This file was deleted.

2 changes: 0 additions & 2 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@

<!-- Common demo imports -->
<link rel="import" href="../../px-sass-doc/px-sass-doc.html" />
<link rel="import" href="../css/px-typography-design-demo-styles.html" />

<!-- Demo DOM module -->
<dom-module id="local-element-demo">
<template>
<!-- 0: Import the styles-->
<style include="px-typography-design-demo-styles" is="custom-style"></style>

<!-- 1: Describe Module -->
<px-sass-doc
Expand Down
40 changes: 0 additions & 40 deletions sass/px-typography-design-demo.scss

This file was deleted.

0 comments on commit f7300a3

Please sign in to comment.