From b51e533834fe22c9b0fab999c75f632471cf0c85 Mon Sep 17 00:00:00 2001 From: Tim Herbst Date: Tue, 22 Dec 2020 16:08:00 +0100 Subject: [PATCH] add necessary imports and adjust overall theme style --- projects/project-3/frontend/src/app/app.module.ts | 9 ++++++++- projects/project-3/frontend/src/styles.scss | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/projects/project-3/frontend/src/app/app.module.ts b/projects/project-3/frontend/src/app/app.module.ts index ae285ad..39ea42b 100644 --- a/projects/project-3/frontend/src/app/app.module.ts +++ b/projects/project-3/frontend/src/app/app.module.ts @@ -20,6 +20,9 @@ import {PopUpComponent} from './map/pop-up/pop-up.component'; import {MatSidenavModule} from '@angular/material/sidenav'; import {MatDatepickerModule} from '@angular/material/datepicker'; import {MatFormFieldModule} from '@angular/material/form-field'; +import {MatNativeDateModule} from '@angular/material/core'; +import {FormsModule, ReactiveFormsModule} from '@angular/forms'; +import {MatInputModule} from '@angular/material/input'; @NgModule({ declarations: [ @@ -44,7 +47,11 @@ import {MatFormFieldModule} from '@angular/material/form-field'; LayoutModule, MatSidenavModule, MatDatepickerModule, - MatFormFieldModule + MatFormFieldModule, + MatNativeDateModule, + FormsModule, + ReactiveFormsModule, + MatInputModule ], providers: [], bootstrap: [AppComponent] diff --git a/projects/project-3/frontend/src/styles.scss b/projects/project-3/frontend/src/styles.scss index d528429..de7754d 100644 --- a/projects/project-3/frontend/src/styles.scss +++ b/projects/project-3/frontend/src/styles.scss @@ -7,6 +7,7 @@ body { font-family: Roboto, "Helvetica Neue", sans-serif; } +@import '@angular/material/prebuilt-themes/deeppurple-amber.css'; @import "~leaflet/dist/leaflet.css"; @import "~leaflet.markercluster/dist/MarkerCluster.css"; @import "~leaflet.markercluster/dist/MarkerCluster.Default.css";