Fix broken Dark theme, Next Experience, Polaris if broken when upgraded to Utah patch 4 - 7

TonO
Tera Expert

I posted this for any admin who is stunned why the dark theme in Utah no longer works on core components and are looking for a possible solution.

Get Dark theme core components working in Utah

(Polaris, Next Experience,  Dark mode)

Set this property to true if you have this defined to get rid of the picture below empty lists:

"glide.ui.polarisberg" => true

 

Somehow when you set this property to false all Core components (Lists, forms, etc) are no longer Dark mode but look like UI16..
Tested with Utah patch 4 and patch 7.

1 ACCEPTED SOLUTION

Please read my post, we had every sys property correctly setup and Polaris + Dark mode did NOT work.
I posted a fix for other ServiceNow admins, having troubles with Utah and Polaris/Dark mode for core components.

We had "glide.ui.polarisberg" set to false and this breaks Polaris/Dark theme for the core components, showing the core components in gray UI16!

You can reproduce this on a OOTB Utah developer instance patch 4 - 7
Setting "glide.ui.polarisberg" to true will fix the Dark theme on the core componments and false will break it.

 

Ok after some research this seems a .. feature although we initially used it to get rid of the pictures below lists, but we had a hard time to find this issue when upgraded to Utah patch 7, and wanted the complete dark mode, references:
https://docs.servicenow.com/bundle/utah-platform-user-interface/page/administer/navigation-and-ui/re...
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1080262


Regards,

Ton

View solution in original post

2 REPLIES 2

Community Alums
Not applicable

Hi @TonO ,

Dark theme is available on Next Experience pages such as the out-of-the-box landing page or configurable workspaces, Classic Environment lists, forms, dashboards, and reports.
 
Here's a quick list of where dark theme in Utah is supported:
 
  • Lists and Forms
  • Dashboards, Dashboard Overview, Dashboard widgets, and Analytics Hub
  • Report Designer/Builder, all Reports, and Performance Analytics widgets
  • Knowledge articles, Service Catalog, Virtual Agent Client, and the Visual Task Board landing page

 

Dark theme is not enabled by default on Utah, administrators can enable it with the glide.ui.polaris.dark_themes_enabled system property. In order to use Dark theme on Classic Environment lists and forms, set the glide.ui.polaris.core_ui_exclude_dark_mode system property to false.
 
Note: Some custom pages do not inherit the dark theme, which may create visual inconsistencies in the classic environment. This is an expected behavior and it is the admins' responsibility to exclude the dark theme from their classic environment if the inconsistencies are unacceptable for company use.
 

Please read my post, we had every sys property correctly setup and Polaris + Dark mode did NOT work.
I posted a fix for other ServiceNow admins, having troubles with Utah and Polaris/Dark mode for core components.

We had "glide.ui.polarisberg" set to false and this breaks Polaris/Dark theme for the core components, showing the core components in gray UI16!

You can reproduce this on a OOTB Utah developer instance patch 4 - 7
Setting "glide.ui.polarisberg" to true will fix the Dark theme on the core componments and false will break it.

 

Ok after some research this seems a .. feature although we initially used it to get rid of the pictures below lists, but we had a hard time to find this issue when upgraded to Utah patch 7, and wanted the complete dark mode, references:
https://docs.servicenow.com/bundle/utah-platform-user-interface/page/administer/navigation-and-ui/re...
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1080262


Regards,

Ton