Dialog Box popup custom theme implementation

0
Hi,  I want to add a class in the error/information message popup window that will be dynamic based on a custom theme attribute in the application.     For overview and new/edit pages I have implemented this functionality by adding a JS in the layout that checks the theme attribute value and adds a class (below is example of new/edit page with theme-custom added) . Is there any way to add same functionality in the dialog message? As there is no layout that I can find that the dialog box uses.   Thanks to all in advance.
asked
1 answers
0

Since you have the attribute value available in JavaScript, maybe you can add the theme class to the <body> tag instead of one of the inner divs? That way you'll have the selector available anywhere, not just on pages.

answered