- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
05-20-2022 11:04 AM - edited 01-18-2023 10:11 AM
| Center of Excellence / Next Experience / Edit the Login Theming for Next Experience |
Administrators can customize Next Experience UI login illustrations, welcome text, and colors to reflect a company's branding. Visit the Edit login theming in Next Experience product documentation for an overview.
Note: The Login button will inherit the CSS Variables from the Core style of your theme.
System Property |
Corresponding CSS Variable |
| glide.ui.polaris.login.show_illustrations |
N/A - Property uses true/false boolean values. |
| glide.ui.polaris.login.style.background | "--now-login-background": "138,48,127" |
| glide.ui.polaris.login.style.background_gradient_begin | "--now-login-background-gradient-begin": "255,255,255" |
| glide.ui.polaris.login.style.background_gradient_end | "--now-login-background-gradient-end" : "255,151,223" |
| glide.ui.polaris.login.style.mountain_primary | "--now-login-mountain-primary": "121,167,211" |
| glide.ui.polaris.login.style.mountain_secondary | "--now-login-mountain-secondary" : "138,48,127" |
If you're looking to change the logo, this is actually controlled by the banner logo that is set. Follow the steps in the product documentation to set the logo for the instance, and you may need perform a cache.do to see the changes take effect on the login page.
- 9,968 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hello,
Do we use these property in these format?
Because I tried using this properties using "--now-login-background": "138,48,127" as values but it is not reflecting properly, but using only the RGB decimal value directly like 138,48,127 it is working. Is it the correct behavior?
| glide.ui.polaris.login.style.background | "--now-login-background": "138,48,127" |
not working
Working fine
Regards,
Vaine
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hey Vaine, I would guess the css properties are in case you want to set them from the next ui themes.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Yes that is also what I found. But in the sys_properties itself it is only accepting the RGB decimal values like shown in the image above.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hello @Ashley Snyder wonderful article as always.
I just have one question, I know the logo used in the login page is the same that is set on My Company / Basic UI16, but its possible to remove the logo from the login page but not remove it from the banner once we log in to the instance?
Thanks
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hello @Ashley Snyder , thank you for your article.
How do I override the glide.ui.polaris.login.style.background property so that the glide.ui.polaris.login.style.background_gradient_begin and glide.ui.polaris.login.style.background_gradient_end can be applied?
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
I've changed the colours as per above however it seems the secondary colours have a boarder. Any idea how to get rid of this??
Looks quite terrible.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Just to add to the above i have found a solution for this. To get rid of the boarders you need to add an extra line to your theme.
"--now-login_mountain--secondary--stroke-color": "163, 81, 155"Once you add this it will look correct.
Would be great to allow us to add our own graphics here. Would really open up the ability to personalize the login experience.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
@Michael Leone Where did you add that that line at? I added it to the UX Theme Styles for color and it didn't work.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hey Winston,
I added this in the Theme Colors UX Style.
I made sure to add it to the Base Style.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
How do you change the illustration(mountain image) in the login box?
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
You will need to clone the widget and replace the existing on on the page if you want to do that. It's not currently supported.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hello everyone it is possible to change the background to an image?
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi, @Ashley Snyder and @Michael Leone
I tried adding "--now-login-background": "138,48,127" to the Colors of the UX Style table but nothing changed. Can you explain what I'm missing?
Thanks
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
How can one change the background ad indicated by @AlejandraEsGFT? Specifically, can we adjust the size of the background to small or remove it to just have the login box showing?
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Not sure what I might be doing wrong, but those system properties don't seem to exist in our instance. Am I missing something?
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
They won't exist. You need to create them.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi @Ashley Snyder ,
How to change login button color?