Browse Source

install font using bower

Nils Schneider 9 years ago
parent
commit
fa69b170d8
2 changed files with 3 additions and 2 deletions
  1. 2 1
      bower.json
  2. 1 1
      index.html

+ 2 - 1
bower.json

@@ -16,7 +16,8 @@
     "ionicons": "~2.0.1",
     "moment": "~2.9.0",
     "requirejs": "~2.1.16",
-    "tablesort": "https://github.com/tristen/tablesort.git#v3.0.2"
+    "tablesort": "https://github.com/tristen/tablesort.git#v3.0.2",
+    "roboto-slab-fontface": "*"
   },
   "authors": [
     "Nils Schneider <nils@nilsschneider.net>"

+ 1 - 1
index.html

@@ -296,7 +296,7 @@
         }
       }
     </style>
-    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Slab:700,400">
+    <link rel="stylesheet" href="bower_components/roboto-slab-fontface/roboto-slab-fontface.css">
     <link rel="stylesheet" href="bower_components/leaflet/dist/leaflet.css">
     <link rel="stylesheet" href="bower_components/Leaflet.label/dist/leaflet.label.css">
     <link rel="stylesheet" href="bower_components/ionicons/css/ionicons.css">