Updated material theme
This commit is contained in:
parent
8df4f98b2c
commit
be03d4759e
@ -28,8 +28,8 @@
|
|||||||
"src/manifest.webmanifest"
|
"src/manifest.webmanifest"
|
||||||
],
|
],
|
||||||
"styles": [
|
"styles": [
|
||||||
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
|
|
||||||
"./node_modules/leaflet/dist/leaflet.css",
|
"./node_modules/leaflet/dist/leaflet.css",
|
||||||
|
"src/material-theme.scss",
|
||||||
"src/styles.scss"
|
"src/styles.scss"
|
||||||
],
|
],
|
||||||
"scripts": [
|
"scripts": [
|
||||||
|
11
src/material-theme.scss
Normal file
11
src/material-theme.scss
Normal 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);
|
Loading…
Reference in New Issue
Block a user