v2.0.0
- Added new default "Colorful" invert mode (#77, #95, #111)
- Preserves colored text while inverting the document in dark mode
- Redesigned settings popup interface
- New GitHub repository button
- New "Advanced" settings section
- Redesigned update notification
- Automatic positioning of toggle button on word count widget (#17)
- Improved dark mode support
Internal Changes
- Completed TypeScript rewrite of outdated JavaScript codebase
- Migrated CSS to modular SCSS architecture
- Improved theme & variant control using classes instead of stylesheet injection
- New build system using Webpack, Sass, and
package.ts- Watch-mode building with
npm run dev
- Watch-mode building with
- Firefox hot-reloading testing with
npm run firefox - New code quality validation using ESLint, Stylelint, Prettier, and web-ext
- Automated testing via GitHub Actions
- Version syncing between
package.jsonandmanifest.json - Added GNU GPLv3 open-source license
Developer Notes
It's been a while! This update is a really big one. The biggest change is to the code and internal structure. The core JavaScript logic had remained largely the same for nearly 4 years and I decided a ground-up rewrite was due. The project is now much cleaner and more maintainable for myself and the community!
The CSS has been refactored into SCSS, which provides the modularity required to maintain the complexity of this project. The themes and variants are now controlled using CSS classes, which should be a more performant solution than the previous injection/removal of stylesheets into the DOM.
I'll keep it brief, but there are many more cool changes in this update. I hope that DocsAfterDark can continue to be a part of your Google Docs experience. Thank you all for your patience and continued support!