Drawing from a prior post on styling popup text, I discovered the solution did not work for me in an Angular project.
With some help, I landed on a work-around of moving some page-level CSS to global. That seems backwards from the way CSS is supposed to work in Angular.
Specifically, I had to move this code to global.scss to be able to change the popup text color to black.
/* import ArcGIS styles required for map marker popups to display */
@import "https://js.arcgis.com/4.22/esri/themes/light/view.css";
/* increase contrast of popup text */
.esri-feature-content p {
color: black;
}
Is there a better way of styling popup text in an Angular application?