r/LabVIEW • • 5d ago

Need More Info LabVIEW IDE Dark Mode/Theme?

Post image

I'm sure this has been asked before, but has anyone figured out any way of somehow changing the LabVIEW IDE to dark mode, maybe a plug-in, changing the .ini, literally anything to help prevent my eyeballs from setting alight while programming. I've managed to change some colours and things but I can't seem to get the level of customisation I would want that would match say Visual Studio for example.

I seem to be struggling with font colour the most. I can't change certain font colours, or by setting a font colour it seems to break something else (see the screenshot.)

I guess I really can't fathom that someone hasn't made a dark mode/theme plug-in or even NI themselves implementing it as a feature, and if it does exist, why the hell can't I find it?

If anyone knows of any way to save my eyeballs while also maintaining usability (i.e. not having to change a control font everytime etc) please help me!

12 Upvotes

9 comments sorted by

5

u/SeasDiver Champion 5d ago

There was a presentation at G Dev Con NA last summer that did this. https://www.youtube.com/watch?v=a39VLdWuR3c

1

u/cr0wsky 5d ago

Sorry if I'm being ignorant, I only skimmed through the video, but I did it a couple of times and I don't see dark mode being presented anywhere.

2

u/SeasDiver Champion 5d ago

6:42 and again at 35:30 or so

6

u/cr0wsky 5d ago

That's just a dark themed front panel, I think Op is asking about a dark mode for when you're developing your diagrams etc.

2

u/SeasDiver Champion 5d ago

Yeah, I was focusing more on run-time. There are some add-ons that have both light and dark themed equivalents such as https://erencantayanc.github.io/labviewmdiconpack/ or the DMC toolkit which allows you to programmatically change and apply styles https://www.dmcinfo.com/blog/19071/dmc-labview-ui-styles-toolkit/ but those are also more geared towards UI and not dev environment.

A dark theme for the LabVIEW UI is an unimplemented idea from the Idea Exchange https://forums.ni.com/t5/LabVIEW-Idea-Exchange/Dark-mode-for-LabVIEW-IDE/idi-p/3924494

2

u/xpxsquirrel 5d ago

Sadly I've never seen this but would love this feature as well. I run dark mode on everything that supports it

1

u/Yamaeda 2d ago

You can always change the default colors ...

1

u/giwidouggie 2d ago

This is not a thing, unfortunately. I had several VIs that I used in a dark laser lab, and a dark theme would've been easier on the eyes, but making a dark theme is quite tedious....

I actually spent some hours trying to implement a kind of 'dark mode toggle', but ultimately abandoned it, because there are some colors that simply can not be changed in UI elements...

The idea was this: for every UI element, grab all its colors through property nodes (there are several colors associated with every control: font, font background, foreground, background, etc.). Then, combine all these colors into a set, to get basically a list of all unique colors (the idea being, that even for several 10s of UI elements, there are only like 10-20 colors in use anyway). Then building a dictionary/look-up-table to convert this set of colors into another set of colors. Then re-applying this new set to all UI elements through property nodes.

I abandoned it because it get's complicated quite quickly, think of arrays in clusters of arrays, etc..... and because some colors are hard-coded into the UI elements (I think, for example, the background color of the increment/decrement buttons of numeric controls can not be changed programmatically....)