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! 

 

 

4 REPLIES 4

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

Maks
Tera Guru

I'm having the same issue in SOW workspace but my background is black and text is black, so that's a far worse problem.

 

I think you would be best sticking to how you have it now, because it's much worse to have black on black and not being able to see anything!

 

Apparently there's no straightforward solution and ServiceNow Support recommends creating/upvoting this in the Idea Portal for future development.

https://support.servicenow.com/ideas

Search for keywords such as "dark mode", "email", "text". There are a few ideas like that in there.

 

Hope it helps!