Browse Source

Reduce roboto imports

Robin Linus 9 years ago
parent
commit
ddee78fe19
2 changed files with 2 additions and 0 deletions
  1. 1 0
      app/styles/app-theme.html
  2. 1 0
      gulpfile.js

+ 1 - 0
app/styles/app-theme.html

@@ -1,3 +1,4 @@
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400,300,500,700">
 <link rel="import" href="../bower_components/polymer/polymer.html">
 <link rel="import" href="../bower_components/polymer/polymer.html">
 <style is="custom-style">
 <style is="custom-style">
 :root {
 :root {

+ 1 - 0
gulpfile.js

@@ -192,6 +192,7 @@ gulp.task('vulcanize', function() {
     return gulp.src('app/elements/elements.html')
     return gulp.src('app/elements/elements.html')
         .pipe($.vulcanize({
         .pipe($.vulcanize({
             stripComments: true,
             stripComments: true,
+            stripExclude:['app/bower_components/font-roboto/roboto.html'],
             inlineCss: true,
             inlineCss: true,
             inlineScripts: true
             inlineScripts: true
         }))
         }))