The Shape of Everything
A website mostly about Mac stuff, written by Gus Mueller
» Acorn
» Retrobatch
» Twitter
» Maybe Pizza?
» Code
» Archive
June 22, 2018
tell application "System Events" to tell appearance preferences ¬
    to set dark mode to not dark mode

When you put the above code in an AppleScript file named "Swap Dank Mode" and call it from LaunchBar, you can easily toggle the system appearance in MacOS 10.14 Mojave.

Script found via this handy devforums posting by "pphook".