docs: fix missing import, explicitly use nativeTheme api (#21937)
docs: fix missing import, explicitly use nativeTheme api (#21937)

* docs: fix missing import, explicitly use nativeTheme api

* Update docs/tutorial/mojave-dark-mode-guide.md

Co-Authored-By: Charles Kerr <108e7bda60a9fc118b6147a26016ba55b840452e@github.com>

* switch to nativeTheme event

Co-authored-by: Charles Kerr <108e7bda60a9fc118b6147a26016ba55b840452e@github.com>

bpasero/electron,seanchas116/electron,bpasero/electron,gerhardberger/electron,seanchas116/electron,bpasero/electron,seanchas116/electron,electron/electron,bpasero/electron,gerhardberger/electron,seanchas116/electron,seanchas116/electron,gerhardberger/electron,gerhardberger/electron,bpasero/electron,electron/electron,electron/electron,electron/electron,gerhardberger/electron,bpasero/electron,bpasero/electron,electron/electron,electron/electron,electron/electron,seanchas116/electron,gerhardberger/electron,gerhardberger/electron