title: How to import Angular Material Css
body: <p>I'm trying to use Angular Material in my project and the tags are imported, but not all of the styling is there. </p>
  
  <p>In my HTML:</p>
  
  <pre><code>&lt;mat-form-field&gt;
    &lt;input matInput [matDatepicker]="picker" placeholder="Choose a date"&gt;
    &lt;mat-datepicker-toggle matSuffix [for]="picker"&gt;&lt;/mat-datepicker-toggle&gt;
    &lt;mat-datepicker #picker startView="year" [startAt]="startDate"&gt;&lt;/mat-datepicker&gt;
  &lt;/mat-form-field&gt;
  </code></pre>
  
  <p>It should show:</p>
  
  <p><a href="https://i.stack.imgur.com/UAB4l.png" rel="noreferrer"><img src="https://i.stack.imgur.com/UAB4l.png" alt="enter image description here"></a></p>
  
  <p>But it shows:</p>
  
  <p><a href="https://i.stack.imgur.com/Qaf3q.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Qaf3q.png" alt="enter image description here"></a></p>
  
  <p>I added <code>@import "~@angular/material/prebuilt-themes/indigo-pink.css";</code> to styles.css and the calendar is showing fine, but the text field still looks bad.</p>
  
  <p><a href="https://i.stack.imgur.com/dWhff.png" rel="noreferrer"><img src="https://i.stack.imgur.com/dWhff.png" alt="enter image description here"></a></p>