The only way I know about this is to use: host and :: ng-deep, called "CSS shadow piercing compilers"
You can enable ViewEncapsulation.Native to use the Shadow DOM, but my understanding is not yet widely supported. Chrome and Safari support it, I think Firefox might be there, but IE is still not able to add this feature.
A good article on the presentation of Encapsulation in angular is here and a good article on shadow piercing. You can also view the documentation for this command from the angular command here.
In my application, I also use PrimeNG. Since I am importing the primeNG component into, let me call MyComponent, which means that the styles applied to MyComponent will be encapsulated and not applied to the PrimeNG UI elements that include. Combined shadow piercings allow me to βpunchβ through the angular βemulateβ Shadow DOM to create PrimeNG material, but it seems a bit dirty and not perfect. I was looking for a way around this, but I don't know anything.
source share