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.

Creating Themes and Styles for Next Experience UI

Saritha6
Tera Contributor

Hi All,

 

I  Created a New custom Theme and styles for Next experience UI. I created theme which contains colors, UI 16 Dashboard Visualisation Compatabilities, Typography. And I created a System Property "glide.ui.polaris.theme.custom"  and update with New theme Sys id.  Still I dont see the changes with the colors I updated in Styles.

 

"base": {
"--now-color--neutral": "46,57,64",
"--now-color--primary": "56,115,220",
"--now-color--secondary": "70,85,95"
// "--now-color_chrome--brand": "56,115,220"
},
"properties": {
"--now-color_brand--neutral": "46,57,64",
"--now-color_brand--primary": "56,115,220",
"--now-color_brand--secondary": "70,85,95"
}
}

 

This is how it should be on Global

 

Saritha6_1-1676409381247.png

 

Could you please anyone of you help me out on this if any ideas or experience.

2 REPLIES 2

SatyakiBose
Mega Sage

Hello @Saritha6 

Please check my solution in the post here on how to create a new polaris theme.

https://www.servicenow.com/community/next-experience-forum/themes-on-tokyo-instance/td-p/2471916

DrewW
Mega Sage

One thing I have found that you always need is

"isDark": "false",

or

"isDark": "true",

You can look at the post that @SatyakiBose pointed out.