Unable to change login.do background gradient using Polaris system properties
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hello Community,
I am trying to change the login.do page background in ServiceNow so that it shows a two-color gradient instead of a single background color.
I am using Polaris login configuration via system properties (sys_properties).
What I want to achieve
I want the login.do background to use a gradient by changing:
background_gradient_begin
background_gradient_end
Properties I have configured
The following properties are already created in sys_properties:
glide.ui.polaris.login.style.background → working (single color applied)
currently i am taking help from here : https://www.servicenow.com/community/next-experience-articles/edit-the-login-theming-for-next-experi...
But these are not working:
glide.ui.polaris.login.style.background_gradient_begin
glide.ui.polaris.login.style.background_gradient_end
glide.ui.polaris.login.style.mountain_primary
glide.ui.polaris.login.style.mountain_secondary
Values I have tried
I tried both formats:
"--now-login-background": "138,48,127"
138,48,127
However, only the single background color is applied.
The gradient effect does not appear on the login.do page.
My questions
Is it possible to change the login.do background gradient using these Polaris system properties?
Are background_gradient_begin and background_gradient_end still supported for login.do?
Do these properties require any additional configuration (UI Builder, cache clear, plugin, etc.)?
Or is custom CSS / UI Script the only way to achieve a two-color background on login.do?
Any clarification or working example would be highly appreciated.
Regards,
Muhammad Huzaifa