I was wondering if it was possible to have multiple themes for popups? For example having a warning theme where the background was red, but only for a specific feature layer. Whereas, all other feature layers have a background of a different color.
Ok, I worked around this issue by using a combo of javascript and css. Added a css variable for the popup background color, which I modify in javascript depending on which feature layer's popup is being displayed.