Sorry, but I have no idea how to implement this feature. The background color of the plugin comes from a css color variable set by Joplin. When switching light/dark theme, Joplin will set the variable to a new value so that this plugin can also change the background color. However, "ReMoods Theme" creates a new variable to modify the joplin style, which overrides the original theme.