Skip to content

Commit

Permalink
change material font
Browse files Browse the repository at this point in the history
  • Loading branch information
Orit Persik authored and Avraham Ostreicher committed Jun 10, 2019
1 parent 352f0f9 commit aa634d6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"src/favicon.ico"
],
"styles": [
"src/styles.css"
"src/styles.scss"
],
"scripts": []
},
Expand Down Expand Up @@ -71,7 +71,7 @@
"tsConfig": "src/tsconfig.spec.json",
"scripts": [],
"styles": [
"src/styles.css"
"src/styles.scss"
],
"assets": [
"src/assets",
Expand Down
14 changes: 11 additions & 3 deletions src/styles.css → src/styles.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
/* You can add global styles to this file, and also import other style files */
@import '~@angular/material/prebuilt-themes/deeppurple-amber.css';
@import '~angular-tree-component/dist/angular-tree-component.css';
@import '~@angular/material/theming';

$custom-typography: mat-typography-config(
$font-family: 'Exo'
);

@include mat-core($custom-typography);

body {
margin: 0;
}
app-root {
font-family: 'Exo', sans-serif;
app-root {
font-family: 'Exo', sans-serif;
}
}

0 comments on commit aa634d6

Please sign in to comment.