The Angular Material Documentation homepage includes a specific scss file:
https://github.com/angular/material.angular.io/blob/master/src/app/pages/homepage/_homepage-theme.scss
Although this scss file is not directly imported into the component's scss file, Angular is still able to recognize and apply the styles. How does Angular achieve this while accessing both files?
For all the files related to the homepage, you can visit:
https://github.com/angular/material.angular.io/tree/master/src/app/pages/homepage