title: Is it better to import styles in angular.json or importing in styles.scss?
body: <p>I am trying to add ngx-datatable component to my project and I am learning to do this so I can eventually do this for a big project. There are two methods of adding styles to the datatable and one is by importing in <code>styles.scss</code>:</p>
  <pre><code>@import '~@swimlane/ngx-datatable/index.css';
  @import '~@swimlane/ngx-datatable/themes/material.scss';
  @import '~@swimlane/ngx-datatable/themes/dark.scss';
  @import '~@swimlane/ngx-datatable/themes/bootstrap.scss';
  @import '~@swimlane/ngx-datatable/assets/icons.css';
  </code></pre>
  <p>And the other method is adding it to the <code>styles</code> array property in <code>angular.json</code>:</p>
  <pre><code>&quot;styles&quot;: [
                &quot;src/styles.scss&quot;,
                &quot;./node_modules/@swimlane/ngx-datatable/index.css&quot;,
                &quot;./node_modules/@swimlane/ngx-datatable/themes/material.scss&quot;,
                &quot;./node_modules/@swimlane/ngx-datatable/themes/dark.scss&quot;,
                &quot;./node_modules/@swimlane/ngx-datatable/themes/bootstrap.scss&quot;,
                &quot;./node_modules/@swimlane/ngx-datatable/assets/icons.css&quot;
              ],
  </code></pre>
  <p>Which would be a better practice? Thank you</p>