Dark theme for Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2023 01:57 AM
Hello community!
I'd like to add the functionality of switching from light to dark theme and vice versa in a custom service portal under Tokyo instance. So far I found one post that mentioned a way to do this in the CSM portal using the darkmode.js library.
Unfortunately, I haven't been able to reproduce the same behaviour in my service portal, so any help would be appreciated.
Thanks.
Don.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2023 07:09 AM
For asking ServiceNow-related questions try this :
For a good and optimistic result, please visit this website. It uses a Chat Generative Pre-Trained Transformer ( GPT ) technology for solving ServiceNow-related issues.
Link - https://nowgpt.ai/
For the ServiceNow Certified System Administrator exams try this :
https://www.udemy.com/course/servicenow-csa-admin-certification-exam-2023/?couponCode=NOW-DEVELOPER
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2023 09:39 AM
Hello Sourav,
The suggestions in your reply are meant for those who want to create a service portal with dark theme only. In my case, I want the end users to be able to switch between dark and light themes.
Also, I tried the nowgpt link you sent. The chat bot suggested to use a certain "ThemeSwitcher' widget, which seems to do what I asked for. Unfortunately, I couldn't find it anywhere (even the chatbot did not have a reply to that).
Thanks again for your time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2023 10:47 AM
Hi, Don. Have you had any luck in the last few months?
I just noticed a Service Portal field in Utah called "Dark theme." It looks like you can specify both [theme] and [dark_theme] for portals now...but I don't see an obvious way to toggle between the two.
I'd also love to find the answer you're looking for!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 10:15 AM
@Mike McCall were you able to find something over it? There seems to be less documentation available around it.