Incorporating PrimeNG dialog into my Angular application has been a breeze. I've been able to customize the style of each individual dialog by utilizing ng-deep. For example, on my contact us page, I have the following files:
contact.html
contact.component.ts
contact.css
To modify the color of the title bar in the contact us dialog, I added the following CSS to contact.css:
:host ::ng-deep .ui-dialog .ui-dialog-titlebar{
background-color: red
}
Now, I want to apply this styling to all dialogs throughout my application. However, when I tried placing the same CSS in the style.css file within the src folder, it didn't take effect. How can I achieve this uniform styling for all dialogs?