I'm trying to use Angular Material in my project and the tags are imported, but not all of the styling is there.
In my HTML:
<mat-form-field>
<input matInput [matDatepicker]="picker" placeholder="Choose a date">
<mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>
<mat-datepicker #picker startView="year" [startAt]="startDate"></mat-datepicker>
</mat-form-field>
It should show:
But it shows:
I added @import "~@angular/material/prebuilt-themes/indigo-pink.css";
to styles.css and the calendar is showing fine, but the text field still looks bad.