Automatically change theme styles when dark mode is enabled or disabled.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
1. You cannot create instance of objects in the constructor (line 64 `others/darkLightSwitch.js`): [EGO Review Guidelines: Destroy](https://gjs.guide/extensions/review-guidelines/review-guidelines.html#only-use-initialization-for-static-resources) 2. Timeout should be removed on disable: - line 146 `others/darkLightSwitch.js` - line 77, 83, 242 `extension.js` [EGO Review Guidelines: Timeout](https://gjs.guide/extensions/review-guidelines/review-guidelines.html#remove-main-loop-sources) 3. Also null out in disable: ```js optimizeTransition = null; ``` [EGO Review Guidelines: Destroy](https://gjs.guide/extensions/review-guidelines/review-guidelines.html#destroy-all-objects) If you need any help with your extension you can ask us on: - [GNOME Extensions Matrix Channel](https://matrix.to/#/#extensions:gnome.org) - IRC Bridge: irc://irc.gimpnet.org/shell-extensions