How are UX Styles with the header_logo property handled in WashingtonDC release?

WORKFLOW-COWBOY
ServiceNow Employee
ServiceNow Employee

In Vancouver, I was able to add a UX Style variant to my UX Theme that contained a logo. 

 

What this allowed me to do was change the header_logo when a user selected a different Theme in their preferences. 

 

Here is an example from Vancouver. In the screenshot below, you can see the default Polaris Theme colors, The user is about to select the "Pink" Theme.

STARLORDNOW_0-1707486107517.png

 

After selecting the Theme, you can see in the screenshot below that the colors as well as the logo are updated. 

STARLORDNOW_1-1707486165614.png

 

In WashingtonDC, it appear some changes were made to the default Polaris UX Theme, most likely for the better.  When I import the same configuration to my WDC instance, here is the result:

STARLORDNOW_2-1707490251894.png

 

As you can see above, the header logo does not change. 

 

A follow-up question is: Are the full properties for UX Styles documented someplace? 

 

I have been attempting to adjust the configuration as much as I can to match the new changes in the Polaris theme on WDC, but no luck so far. 

 

I have been through the WDC Documentation for Next Experience UI, but not seeing anything that would answer this specifically. I would be happy to be wrong. Docs Link: https://docs.servicenow.com/csh?topicname=next-experience-ui-admin.html&version=latest 

 

For reference, my themes are in a scoped app called "Next Cool Themes" available here: https://github.com/dalestubblefield/next-cool-themes


--------------------------------------------------
Workflow Cowboy
LinkedIn: https://www.linkedin.com/in/dalestubblefield/
YouTube: https://www.youtube.com/@starlordnow
1 ACCEPTED SOLUTION

The Machine
Kilo Sage

Hello,

Theres a system property that gets created when you use Theme Builder for building themes with a logo called:  glide.ui.polaris.theme_builder.override_logo.  Set that to true and see if your image appears.

I tested it on my PDI and it dynamically changes the header logo when I change the theme.

Hopefully that helps solve your problem. 

View solution in original post

4 REPLIES 4

The Machine
Kilo Sage

Hello,

Theres a system property that gets created when you use Theme Builder for building themes with a logo called:  glide.ui.polaris.theme_builder.override_logo.  Set that to true and see if your image appears.

I tested it on my PDI and it dynamically changes the header logo when I change the theme.

Hopefully that helps solve your problem. 

That was what it was. The property was missing on my WDC instance. Once I created it, the logos from my themes applied correctly. 


--------------------------------------------------
Workflow Cowboy
LinkedIn: https://www.linkedin.com/in/dalestubblefield/
YouTube: https://www.youtube.com/@starlordnow

aldro61
Tera Contributor

Hi, I'm actually trying to figure out how to include a custom logo in a theme variant. If you know how, could you please post here: https://www.servicenow.com/community/developer-forum/theme-builder-apply-theme-to-single-user/td-p/2.... Thank you!

I posted on the other thread. 


--------------------------------------------------
Workflow Cowboy
LinkedIn: https://www.linkedin.com/in/dalestubblefield/
YouTube: https://www.youtube.com/@starlordnow