Skip to content
Permalink
Browse files

change material font

  • Loading branch information
oritpersik authored and AvrahamO committed Jun 7, 2018
1 parent 352f0f9 commit aa634d6079178598300d97eb3030c9df4bdcb6b8
Showing with 13 additions and 5 deletions.
  1. +2 −2 angular.json
  2. +11 −3 src/{styles.css → styles.scss}
@@ -21,7 +21,7 @@
"src/favicon.ico"
],
"styles": [
"src/styles.css"
"src/styles.scss"
],
"scripts": []
},
@@ -71,7 +71,7 @@
"tsConfig": "src/tsconfig.spec.json",
"scripts": [],
"styles": [
"src/styles.css"
"src/styles.scss"
],
"assets": [
"src/assets",
@@ -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.
You can’t perform that action at this time.