Check out a free preview of the full Build Cross-Platform Desktop Apps with Electron course:
The "Changing Theme Styles" Lesson is part of the full, Build Cross-Platform Desktop Apps with Electron course featured in this preview video. Here's what you'd learn in this lesson:
Using systemPreferences Module, Steve shows how to set an application into Dark Mode with the remote module that is used to handle main process modules from the renderer process.