Why doesn't my UX Theme changes appear after making a variant of the Polaris base Theme in my PDI?

Paul A Ciocan
Tera Contributor

Hello,

 

I have followed along the documentation to make some changes on the base UI Theme Polaris, but the changes never appear. I changed some colors in JSON code as described in the docs, but they don't appear, not even after I refresh the browser window.

 

What did I miss?

Here is the link to the docs I have followed along:

https://docs.servicenow.com/bundle/tokyo-platform-user-interface/page/administer/navigation-and-ui/t...

 

I added these properties:

{
"base": {
"--now-color-neutral--" : "155,90,250",
"--now-color-primary--" : "20,100,190",
"--now-color-secondary--" : "255,42,0",
"--now-color_selection--primary" : "25,144,120",
"--now-color_selection--secondary" : "125,94,20"
},
"properties":{
}
}
1 REPLY 1

Carlos Candano
Mega Guru

You will need to post screenshots of how you have configured it.

 

If you have created a new UX Style, you will need to add it to the Polaris Theme. There should be a UX Themes Styles related list on the UX Style form. Add a new record and link it to the Polaris Theme. You can check the OOB "Colors" UX Style under the Polaris Theme to see how it's done.

 

Don't forget to increase the order of your new style so it will be applied last.