Updated material theme

This commit is contained in:
Zakary Timson 2019-08-24 09:17:55 -04:00
parent 8df4f98b2c
commit be03d4759e
2 changed files with 12 additions and 1 deletions

View File

@ -28,8 +28,8 @@
"src/manifest.webmanifest"
],
"styles": [
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
"./node_modules/leaflet/dist/leaflet.css",
"src/material-theme.scss",
"src/styles.scss"
],
"scripts": [

11
src/material-theme.scss Normal file
View File

@ -0,0 +1,11 @@
@import '../node_modules/@angular/material/theming';
@include mat-core();
$custom-theme-primary: mat-palette($mat-red, 600);
$custom-theme-accent: mat-palette($mat-blue, 600);
$custom-theme-warn: mat-palette($mat-orange, 600);
$custom-theme: mat-light-theme($custom-theme-primary, $custom-theme-accent, $custom-theme-warn);
@include angular-material-theme($custom-theme);