Configuring the Polaris UI themes

Mark251
Mega Guru

I am trying to configure the Polaris themes and am having an
I have created a new theme with 2 variants and set the following system properties
glide.ui.polaris.theme.custom --> To point to my custom theme
glide.ui.polaris.theme.variant -> To point to the default variant
The Theme is configured like attached.
The issue is that when I select what Theme to configure, the default one is still there.
I wish to disable the default so the user only can select from the 2 I provide. I am happy to make one of mine the default but do not know how

1 ACCEPTED SOLUTION

I raised a ticket to ServiceNow and they could not do it eaither however I then figured it out myself.

I created a new theme and copied all the same Styles as Polaris with the exception of the one called "Colors"
I copied Colors and modified the settings to be the Colours I desired, this sets the default colour scheme
I set the system property to be my new theme rather than Polaris

View solution in original post

8 REPLIES 8

Jack
Tera Guru

Hi Mark,

I cannot see your screenshot. So, I'm not sure what you have configured.

Could you attach again?

I raised a ticket to ServiceNow and they could not do it eaither however I then figured it out myself.

I created a new theme and copied all the same Styles as Polaris with the exception of the one called "Colors"
I copied Colors and modified the settings to be the Colours I desired, this sets the default colour scheme
I set the system property to be my new theme rather than Polaris

When you say you set the system properties to be the new theme, what do you mean by that?

I'm a noob with the same issue

Create a system property "glide.ui.polaris.theme.custom" and set the value to the sys_id of your theme