This Safari extension enables dark-mode on websites.
You can enable or disable dark mode on a per site basis.
You can donwload the app in the macOS AppStore.
Build and run the "Nightshift Extension" target in Xcode. When prompted "Choose app to run", select Safari.
In Safari, enable the developer menu at -> Preferences -> Extended -> enable "Show Develop menu in menu bar".
In menu "Develop", enable "Allow Unsigned Extensions".
Enable the extension in Safari at -> Preferences -> Extensions -> enable the checkbox next to "Nighshift" in the left column.
For more information, see Building a Safari App Extension