Is it better to import styles in angular.json or importing in styles.scss?

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 styles.scss:

@import '[email protected]/ngx-datatable/index.css';
@import '[email protected]/ngx-datatable/themes/material.scss';
@import '[email protected]/ngx-datatable/themes/dark.scss';
@import '[email protected]/ngx-datatable/themes/bootstrap.scss';
@import '[email protected]/ngx-datatable/assets/icons.css';

And the other method is adding it to the styles array property in angular.json:

"styles": [
              "src/styles.scss",
              "./node_modules/@swimlane/ngx-datatable/index.css",
              "./node_modules/@swimlane/ngx-datatable/themes/material.scss",
              "./node_modules/@swimlane/ngx-datatable/themes/dark.scss",
              "./node_modules/@swimlane/ngx-datatable/themes/bootstrap.scss",
              "./node_modules/@swimlane/ngx-datatable/assets/icons.css"
            ],

Which would be a better practice? Thank you

Source: Angular Questions