To ensure that the <amplify-authenticator>
component has the appropriate styles, I followed the steps outlined in this guide: https://github.com/aws-amplify/amplify-js/issues/1870
This involved installing @aws-amplify/ui and importing necessary stylesheets.
However, the imported stylesheets contain selectors that affect elements such as span and h3 without specific mention. I prefer not to have the authenticator's styles impact the rest of my application (or vice versa).
Is there a method to confine these styles to apply only within a certain component tree?
While ViewEncapsulation seems like a potential solution, it doesn't seem to provide the desired restriction when utilizing an external component beyond my control.
I am working with Angular 7.