- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to add dark theme compatibility to custom app?
We use a custom app in our Splunk Cloud instance to segregate dashboards and searches from other teams. With the recent update to allow dark theme compatibility in Splunk 9 to the search view in "Searching and Reporting" I was wondering if there was a way we could enable that in our custom app as well?
Currently while in this custom app and trying to switch the them to dark I get this error message:
"The Theme setting is not supported by your current app context."
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
try this:
on the app.conf file add below stanza:
[ui]
is_visible = true
show_app_dark_theme = true
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Anyone else having trouble implementing this? I have an app, it has the following setting in app.conf, but still when users log into the app, they are forced into light mode, even if their user preference is dark mode. We are using Splunk 9.2.2.
[ui]
is_visible = 1
label = MyApp
supported_themes = light,dark
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

(Attaching the updated docs link since my prior comment, as the URL has changed: https://dev.splunk.com/enterprise/docs/developapps/createapps/buildapps/adduithemes)
@hettervik could you please confirm that the search page in your app context is displaying correctly (ex. /en-US/app/MyCustomApp/search)? Also, curious what pages specifically are light mode for your app that you're expecting to be dark? Custom app pages will require additional updates for related files.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Thanks for the reply. I can confirm that if I set my profile preferences to "theme dark", the the default app pages like "Search", "Alerts", "Reports", etc. in my app becomes dark. So yes, the following link is dark:
https://mysplunk.com/en-GB/app/MyCustomApp/search
I checked all the 18 different dashboards in the app, and all of then are still in light mode though. I expected all of them to be in dark mode now. There are not custom CSS and such in the dashboards. Is this as intended, do I need to add some setting to all my dashboards to make them dynamically suppoert light and dark mode?
I could of course manually set the dashboards to dark mode, but then they would be stuck in dark mode, if I understand correctly. I want the dashboards to change dynamically between dark and light.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Thanks for your feedback. The Dashboards team continuously seeks to simplify the admin experience for managing dashboards.
This is as intended. Dashboards are a bit different than most other webpages because they are specifically configured by a dashboard builder to look a certain way. So allowing end users to change the theme conflicts with the idea that a dashboard builder can build a dashboard to be viewed they way they built it. On top of that, due to the high level of customization and specific color settings, we can't guarantee that bulk theme changes will maintain readability or visual consistency across all dashboards.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the info. I had a user wondering why the theme was not changing to dark on the custom app.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the same question and I can see all of the replies are referring to Splunk WEB not Splunk CLOUD.
From what I can tell, the only option is to do this by deploying your private app (requires Victoria Experience)
https://dev.splunk.com/enterprise/docs/releaseapps/manageprivatecloud/
To clarify for all of the other responders;
- This is Splunk Cloud
- We have no access to the app.conf of any app
- We have no access to the file structure on the Search Head
- We can only use the UI and REST apis (ACS)
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hello, https://dev.splunk.com/enterprise/docs/developapps/createapps/adduithemes/ details the guidance for app developers to update their app(s) to support dark theme (in addition to light theme) for their app. App consumers should not make an attempt to support dark theme for an installed app themselves.
Currently if someone installs an app which supports dark theme, they will only see the benefit of this in Splunk Cloud per the above doc. The next Splunk Enterprise release once it is available will support dark theme the same as the current Splunk Cloud release.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am on Classic and was able to modify a app.conf in private app that you can deploy. See https://dev.splunk.com/enterprise/docs/releaseapps/manageprivatecloud/ for some more info as well.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hello, guidance on adopting the theming framework for your app can be found at: https://dev.splunk.com/enterprise/docs/developapps/createapps/adduithemes/
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://docs.splunk.com/Documentation/Splunk/latest/Admin/Appconf#.5Bui.5D suggests you need to add an entry to your app.conf file in the ui stanza of supported_themes.
[ui]
supported_themes=enterprise,dark
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content


Hi @chartastic,
did you tried to go in the Edit mode of each dashboard and set the Dark Theme?
Ciao.
Giuseppe
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not trying to apply dark theme to a dashboard, but to the search ui like I now can in "Search & Reporting". See the screen shot.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content


Hi @chartastic,
you should try to copy the CSS that you have in the Search & Reporting App (Dark Theme) App in your custom App.
You should find it in $SPLUNK_HOME/etc/apps/search/appserver/static and copy in $SPLUNK_HOME/etc/apps/<your_app>/appserver/static.
Ciao.
Giuseppe
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

You want to move this question to Dashboards & Visualizations forum and get better answer.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See my other reply, this is about the search ui and not about a dashboard.
