Dashboards & Visualizations

How do I get the dark theme to all of Splunk, regardless of version?

landen99
Motivator

How do I get the dark theme to all of Splunk, regardless of version, including search results and dashboards, and to any other website as well?

Labels (1)

landen99
Motivator

The following solution gives you dark mode for all Splunk versions for both searches and dashboards, and for all other websites:
Install the darkreader.org extension
Install the Stylus extension
Add css to tame the cell highlighting feature in Splunk ->

  1. Click the Stylus extension
  2. Click Manage
  3. Click "Write New Style"
  4. Set "Applies to Everything" at the bottom
  5. Copy the following css into the box "code 1":

    /* highlight color, for dark mode */
    ::selection {
    background: #161710fc;
    color: #42ff42
    }

    statistics > table > tbody > tr > td > div:nth-child(n):hover {

    background: #001a07 !important;
    color: #6cff6c !important;
    

    }

    statistics > table > tbody > tr:nth-child(n) > td:nth-child(n):hover {

    background: #001a07 !important;
    color: #6cff6c !important;
    

    }

jtrout44
Engager

statistics > table > tbody > tr > td > div:nth-child(n):hover {
background: #001a07 !important;
color: #6cff6c !important;
}

statistics > table > tbody > tr:nth-child(n) > td:nth-child(n):hover {
background: #001a07 !important;
color: #6cff6c !important;
}

are these written correctly?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...