1) Click System Preferences from the Apple menu or the Dock. 2) Click the icon labeled General. 3) Click Dark next to Appearance. Doing so shall turn on the system-wide Dark Mode on your Mac. The Automator application is being saved in the Automator folder in iCloud as “Dark-Light” At this point, you can quit Automator. Now find the Dark-Light app (or whatever you named it) and drag the app icon to your Dock if you’d like instant access to it. Once it’s in the Dock, click the Dark-Light app icon to launch it.
If you want to create a shell script so you can change between MacOS dark mode and light mode from the Terminal (Unix) command line, put this source code in a file and name it something like dark:
Then make that file executable, and make sure it’s on your PATH. Now you can type dark
to toggle back and forth between dark mode and the regular light mode:
From looking at that AppleScript code you would think you’d need two shell scripts for this purpose, but for some reason that one command toggles back and forth between the two MacOS modes.
Dark Mode is a dramatic new look that's easy on your eyes and helps you focus on your work. Dark Mode uses a dark color scheme that works system wide, including with the apps that come with your Mac. And third-party apps can adopt it, too.
Choose Apple menu > System Preferences, click General, then select one of the Appearance options at the top of the window:
Some apps and features have special Dark Mode settings or behaviors.
Mail. To use a light background for email messages while Dark Mode is turned on, open Mail and choose Mail > Preferences, then click the Viewing tab and deselect “Use dark backgrounds for messages.”
Maps. To use a light background for maps while Dark Mode is turned on, open Maps and choose Maps > Preferences, then select ”Always use light map appearance.” In earlier versions of macOS, click View in the menu bar in Maps, then deselect Use Dark Map.
Notes. To use a light background for notes while Dark Mode is turned on, open Notes and choose Notes > Preferences, then deselect “Use dark backgrounds for note content.”
Safari. When you use Dark Mode, Safari automatically shows a website in Dark Mode if the website has been designed to support it. If the website doesn't support Dark Mode, you can use Safari Reader to read articles in Dark Mode.
TextEdit.To use a light background for documents while Dark Mode is turned on, click View in the menu bar in TextEdit, then deselect Use Dark Background for Windows. (Requires macOS Mojave 10.14.2 or later.)
Dynamic Desktop. If you turn on Dark Mode while using Dynamic Desktop, the desktop may change to the dark still image. You can change this setting in Desktop & Screen Saver preferences.