Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Email notification display on Activity stream when Dark mode is enabled

Alina-Maria_S
Tera Expert

Hello everyone, 

 

We had the following requirement from the client to build the notifications according to the below template. 

Teeest.jpg

 The issue that we encountered, is that when dark mode is enabled, the email notification that was sent and is displayed in the Activity stream of the ticket (in Service Operations Workspace and also in the Next Experience UI), doesn't have the dark mode applied and it appears as below. Does anyone know how should the email templates and layout be defined, so that it displays properly in the Activity stream for both modes: light and dark?

 

Thank you! 

 

 

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@Alina-Maria_S 

how should it matter within the instance when recipient user will receive the email actually that will have the content.

how does it look in dark mode and light mode in activity stream please share screenshots.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

The requirement is coming from the client, who want to see all content from Activity in Dark mode.

This is how the email sent appears in the Activity stream in the light mode (which is ok): 

Light.jpg

This is how the email sent appears in the Activity stream in the dark mode (which is not ok, as it should have the dark mode applied, not the white background): 

Dark .jpg

 We were wondering if is possible to define template and layout for email notifications so that in light mode to appear as above and in dark mode to have the display adjusted to the dark mode. 

@Alina-Maria_S 

I don't think this is feasible within the platform.

I believe OOB the activity formatter has light background so it shows in that way in dark mode whereas in light mode it looks fine.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Alina-Maria_S 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader