On your Mac, choose Apple menu > System Settings, then click Appearance in the sidebar. (You may need to scroll down.) Open Appearance settings for me. Select ...
MacOS includes a Dark Mode option that works across the entire system, from the dock and menu bar to all of your apps. Here's how to turn on Dark Mode.