r/LabVIEW • u/Perfect_Spare965 • 5d ago
Need More Info LabVIEW IDE Dark Mode/Theme?
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!
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
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....)