This spoon is in early development/testing. It may have lots of bugs, and could undergo breaking API changes.
malob/DarkMode.spoon
Hammerspoon Spoon to enable, disable, and toggle DarkMode either manually, or on a schedule (by default enabled on sunset and disabled as sunrise).
Lua