martinkorelic / joplin-plugin-spoilers

Joplin plugin for creating inline spoilers and spoiler blocks.
29 stars 3 forks source link

Darkmode defaults. (See description) #13

Closed kentonself closed 5 months ago

kentonself commented 6 months ago

Added a dark mode to spoilers.js. Normally dark mode can be handled with userchrome.css and userstyle.css, but Joplin plugins are getting Android support (in beta at the time of this commit), and modified css are not supported in mobile.

Also, the code did not build with the latest version of npm, and some of the changes were security related, so the latest plugin framework was imported and the old code was migrated. I could foresee this being a change to the minor version, fwiw.

martinkorelic commented 5 months ago

Thank you for the contribution, I am no longer personally maintaining the plugin so any work done by others in order to maintain the plugin with the Joplin plugin framework is greatly appreciated.