Skip to content

Commit

Permalink
fix(dependency): use font-awesome from npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Arelav committed Oct 18, 2017
1 parent 4f2be5e commit 94ddb50
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"bootstrap": "4.0.0-alpha.6",
"classlist.js": "^1.1",
"core-js": "^2.4.1",
"font-awesome": "^4.7.0",
"hammerjs": "^2.0.8",
"rxjs": "^5.4.2",
"uuid": "^3.1.0",
Expand Down
1 change: 0 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

<link rel="icon" type="image/x-icon" href="favicon.ico">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="https://use.fontawesome.com/2fcf1416f4.js"></script>
<style type="text/css">
body, html {
height: 100%;
Expand Down
2 changes: 2 additions & 0 deletions src/styles-variables.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
$toolbar-breakpoint: 600px;

$fa-font-path: '~font-awesome/fonts';

$grid-breakpoints: (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px);
2 changes: 2 additions & 0 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
@import '~bootstrap/scss/bootstrap-grid';
@import '~bootstrap/scss/utilities';

@import '~font-awesome/scss/font-awesome';

@import 'styles-reset';

@import '~@angular/material/theming';
Expand Down

0 comments on commit 94ddb50

Please sign in to comment.