(by ekimroyrp)
Toggle Grasshopper's GUI between Dark Mode and Light Mode.
Support Email



Give your eyes a break while you work all night!

Moonlight is a single component which can toggle Grasshopper's GUI between Light Mode (Grasshopper's default) and Dark Mode. Dark Mode is a custom GUI based on the dark mode color schemes of other software like Windows, Adobe, Office, Visual Studio ect. Dark Mode is meant to put less strain on your eyes. It also lights up less of your room so you can work away without screen brightness disturbing others as they sleep. Most important of all, it looks really cool! Dark Mode is reversible by switching the mode to false. Once set to Dark Mode you don't need Moonlight on canvas anymore, Dark Mode stays even after closing Rhino and Grasshopper until you turn it back to Light Mode. Saving a file in Dark Mode and opening it on another computer will not make the other computers Grasshopper go into Dark Mode, so don't worry about sending files to others. Moonlight is written in C# as a .gha file. Moonlight will install at the bottom of Grasshopper's Params > Util tab. 

If you want full customization of Grasshopper's GUI, check out the plug-in Palette:

Instagrams: @ekim.royrp & @designmorphine


Moonlight(Moonlight): Toggle Grasshopper's GUI between Dark Mode and Light Mode.

Input M: Mode - Input a button component to activate, click the button to refresh when new Rhino geometry is referenced


WARNING: If you already have a customized GUI it will not come back after Moonlight. Moonlight switches between Dark Mode and Grasshopper's Default GUI. If you wish to save your custom GUI settings before using Moonlight, in Grasshopper go to File > Special Folders > Settings Folder - and make a copy of the file "grasshopper_gui.xml". When you want your customized GUI back just replace the "grasshopper_gui.xml" with your copy. When you replace it, it must be named "grasshopper_gui.xml". The "grasshopper_gui.xml" is always updated with GUI changes so you must make the copy before using Moonlight or else Moonlight will overwrite it. 

How to intall Grasshopper plug-ins:

*If you have both Rhino 5 and Rhino 6 then you only need to install Moonlight in Grasshopper for Rhino 5, Rhino 6 Grasshopper will pick it up automatically.

If you are interested in developing your own GUI component, all the needed methods can be found in the GH_Skin class:

-Michael Pryor


Moonlight Changelog

August 27, 2018 - Moonlight V1.0

  • First release
License Cost:
For instructions on installing Grasshopper Add-Ons, please see FAQ for details.
Moonlight V1.0
Grasshopper for Rhino 4 & 5 for Win
Grasshopper for Rhino 6 for Win