Skip to content

Commit 17ab9ef

Browse files
committed
Merge pull request #519 from maciaszczykm/offline-icons
Add icons and font to bower components
2 parents fed0c9f + 949f4c9 commit 17ab9ef

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

bower.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
2-
"//": "Specification of this file can be found at:",
3-
"//": "https://github.com/bower/spec/blob/master/json.md",
4-
52
"name": "kubernetes-dashboard",
63
"version": "0.0.1",
74
"dependencies": {
@@ -12,7 +9,9 @@
129
"angular-messages": "~1.5.0",
1310
"angular-ui-router": "~0.2.15",
1411
"angular-resource": "~1.5.0",
15-
"angular-sanitize": "~1.5.0"
12+
"angular-sanitize": "~1.5.0",
13+
"material-design-icons-iconfont": "~2.0.4",
14+
"roboto-fontface": "~0.4.5"
1615
},
1716
"devDependencies": {
1817
"angular-mocks": "~1.5.0",

src/app/frontend/index.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
// limitations under the License.
1414

1515
// Import Roboto material design font. It is recommended by the Angular Material spec.
16-
// TODO(bryk): Bundle the fonts with production binary to not import from external sites.
17-
@import url('//fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic');
16+
@import '../../bower_components/roboto-fontface/css/roboto-fontface.css';
1817

1918
// Angular Material icon font. It allows to use the icons as fonts.
20-
@import url('//fonts.googleapis.com/icon?family=Material+Icons');
19+
@import '../../bower_components/material-design-icons-iconfont/dist/material-design-icons.css';

0 commit comments

Comments
 (0)