Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

Commit fc9ca53

Browse files
refactor: import fa directly in styles.scss
1 parent f995509 commit fc9ca53

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.angular-cli.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
"prefix": "app",
2222
"serviceWorker": true,
2323
"styles": [
24-
"styles.scss",
25-
"../node_modules/font-awesome/scss/font-awesome.scss"
24+
"styles.scss"
2625
],
2726
"scripts": [],
2827
"environmentSource": "environments/environment.ts",

src/styles.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
@import '~@angular/material/theming';
2+
$fa-font-path: "~font-awesome/fonts";
3+
@import "~font-awesome/scss/font-awesome";
24
@import './app/operators/operator-theme';
35
@import './styles/code-helpers';
46

0 commit comments

Comments
 (0)