Dashboards & Visualizations

How to change icons of App based on light/dark mode?

LAI
New Member

Hi,

I have an App that has a set of icons that work fine on light mode, but if I switch to dark mode, they become invisible. If I add the lighter icons and dark mode, then the icons become invisible in light mode.

Is there a way to have both sets of icons and have them change based on the active mode?

Labels (1)
0 Karma

dural_yyz
Motivator

Developer guide does not provide any evidence of loading different icons based on selected theme.  The documentation states the order the Icons are loaded which are triggered based on quality of display and location in the app.

https://dev.splunk.com/enterprise/docs/developapps/createapps#Add-icons-to-your-app

File name Image size (pixels) Placement Example image

appIcon_2x.png72 x 72App list on the Splunk Web home page for high-resolution displaysdural_yyz_0-1726515084585.png

 

appIcon.png36 x 36App list on the Splunk Web home page for standard-resolution displaysdural_yyz_1-1726515084585.png

 

appIconAlt_2x.png72 x 72App menus for Splunk bar and search bar for high-resolution displaysdural_yyz_2-1726515084586.png

 

appIconAlt.png36 x 36App menus for Splunk bar and search bar for standard-resolution displaysdural_yyz_3-1726515084586.png

 

appLogo.png160 x 40 (maximum size)App bar on standard-resolution displays
appLogo_2x.png320 x 80 (maximum size)App bar on high-resolution displays
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...